module Sabo::Tabby::Utils

Defined in:

sabo-tabby/helpers/utils.cr

Constant Summary

ZIP_TYPES = {".htm", ".html", ".txt", ".css", ".js", ".svg", ".json", ".xml", ".otf", ".ttf", ".woff", ".woff2"}

Class Method Summary

Class Method Detail

def self.zip_types(path : String | Path) #

Returns whether a file should be compressed


[View source]