module

CompileHelper

Class methods

comp_enum_str(comp_sym : String) : String
Source
compress_chunk(chunk_raw : Bytes, comp_sym : String) : Bytes
Source
emit_file(io : IO, full_disk_path : String, v_path : String, vol_name : String, mode : String, chunk_size : UInt32, comp_sym : String, transform_spec : String | Nil, auto_threshold : Int64 | Nil = nil)

Emits Crystal code to construct and add an item to the specified volume

Source
find_files(base_dir : String, patterns : Array(String), excludes : Array(String)) : Array(String)

Scans base_dir for files matching patterns and not matching excludes

Source
process_folder_batch(mode : String, dir : String, prefix : String, volume_name : String, chunk_size : UInt32, comp_sym : String, transform_spec : String | Nil, exclude_csv : String, threshold : Int64 | Nil = nil)
Source
process_manifest(manifest_path : String, base_dir : String = ".")
Source