├── .gitattributes ├── .github └── workflows │ └── main.yml ├── .gitignore ├── CHANGELOG.md ├── CLAUDE.md ├── LICENSE ├── README.md ├── benchmarks ├── .gitignore ├── README.md ├── baked │ ├── baked.cr │ └── shard.yml ├── baseline │ ├── baseline.cr │ └── shard.yml ├── binary_size.cr ├── compile_time.cr ├── memory.cr ├── performance.cr ├── public │ ├── large.dat │ ├── medium.json │ └── small.txt ├── report_generator.cr └── run_all.sh ├── examples ├── .gitignore ├── README.md ├── assets │ ├── large.bin │ ├── medium.bin │ └── small.txt ├── threshold_example.cr └── warning_example.cr ├── shard.yml ├── spec ├── baked_file_system_spec.cr ├── empty_storage │ └── .git_keep ├── loader_spec.cr ├── spec_helper.cr ├── storage │ ├── .hidden │ │ └── hidden_file.txt │ ├── empty │ │ └── .keep │ ├── filters │ │ ├── config.yml │ │ ├── docs │ │ │ └── README.md │ │ ├── src │ │ │ ├── lib.cr │ │ │ └── main.cr │ │ └── test │ │ │ ├── helper.cr │ │ │ └── spec.cr │ ├── images │ │ └── sidekiq.png │ ├── lorem.txt │ └── string_encoding │ │ ├── interpolation.gz │ │ └── interpolation.txt ├── storage_edge_cases │ ├── ...dots.txt │ ├── file(1).txt │ ├── file.tar.gz │ ├── file[brackets].txt │ ├── multiple spaces.txt │ ├── subdirectory with spaces │ │ └── nested file.txt │ ├── with spaces.txt │ ├── файл.txt │ └── 文件.txt └── string_encoder_spec.cr └── src ├── baked_file_system.cr ├── baked_file_system └── version.cr ├── loader.cr └── loader ├── byte_counter.cr ├── loader.cr ├── stats.cr └── string_encoder.cr /.gitattributes: -------------------------------------------------------------------------------- 1 | * text eol=lf 2 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/README.md -------------------------------------------------------------------------------- /benchmarks/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/benchmarks/.gitignore -------------------------------------------------------------------------------- /benchmarks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/benchmarks/README.md -------------------------------------------------------------------------------- /benchmarks/baked/baked.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/benchmarks/baked/baked.cr -------------------------------------------------------------------------------- /benchmarks/baked/shard.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/benchmarks/baked/shard.yml -------------------------------------------------------------------------------- /benchmarks/baseline/baseline.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/benchmarks/baseline/baseline.cr -------------------------------------------------------------------------------- /benchmarks/baseline/shard.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/benchmarks/baseline/shard.yml -------------------------------------------------------------------------------- /benchmarks/binary_size.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/benchmarks/binary_size.cr -------------------------------------------------------------------------------- /benchmarks/compile_time.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/benchmarks/compile_time.cr -------------------------------------------------------------------------------- /benchmarks/memory.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/benchmarks/memory.cr -------------------------------------------------------------------------------- /benchmarks/performance.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/benchmarks/performance.cr -------------------------------------------------------------------------------- /benchmarks/public/large.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/benchmarks/public/large.dat -------------------------------------------------------------------------------- /benchmarks/public/medium.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/benchmarks/public/medium.json -------------------------------------------------------------------------------- /benchmarks/public/small.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/benchmarks/public/small.txt -------------------------------------------------------------------------------- /benchmarks/report_generator.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/benchmarks/report_generator.cr -------------------------------------------------------------------------------- /benchmarks/run_all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/benchmarks/run_all.sh -------------------------------------------------------------------------------- /examples/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/examples/.gitignore -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/assets/large.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/examples/assets/large.bin -------------------------------------------------------------------------------- /examples/assets/medium.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/examples/assets/medium.bin -------------------------------------------------------------------------------- /examples/assets/small.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/examples/assets/small.txt -------------------------------------------------------------------------------- /examples/threshold_example.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/examples/threshold_example.cr -------------------------------------------------------------------------------- /examples/warning_example.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/examples/warning_example.cr -------------------------------------------------------------------------------- /shard.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/shard.yml -------------------------------------------------------------------------------- /spec/baked_file_system_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/spec/baked_file_system_spec.cr -------------------------------------------------------------------------------- /spec/empty_storage/.git_keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/loader_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/spec/loader_spec.cr -------------------------------------------------------------------------------- /spec/spec_helper.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/spec/spec_helper.cr -------------------------------------------------------------------------------- /spec/storage/.hidden/hidden_file.txt: -------------------------------------------------------------------------------- 1 | should not be included 2 | -------------------------------------------------------------------------------- /spec/storage/empty/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/storage/filters/config.yml: -------------------------------------------------------------------------------- 1 | config: true 2 | -------------------------------------------------------------------------------- /spec/storage/filters/docs/README.md: -------------------------------------------------------------------------------- 1 | # README 2 | -------------------------------------------------------------------------------- /spec/storage/filters/src/lib.cr: -------------------------------------------------------------------------------- 1 | # Lib file 2 | -------------------------------------------------------------------------------- /spec/storage/filters/src/main.cr: -------------------------------------------------------------------------------- 1 | # Main file 2 | -------------------------------------------------------------------------------- /spec/storage/filters/test/helper.cr: -------------------------------------------------------------------------------- 1 | # Test helper 2 | -------------------------------------------------------------------------------- /spec/storage/filters/test/spec.cr: -------------------------------------------------------------------------------- 1 | # Test spec 2 | -------------------------------------------------------------------------------- /spec/storage/images/sidekiq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/spec/storage/images/sidekiq.png -------------------------------------------------------------------------------- /spec/storage/lorem.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/spec/storage/lorem.txt -------------------------------------------------------------------------------- /spec/storage/string_encoding/interpolation.gz: -------------------------------------------------------------------------------- 1 | #{foo} {% macro %} 2 | -------------------------------------------------------------------------------- /spec/storage/string_encoding/interpolation.txt: -------------------------------------------------------------------------------- 1 | L#9U"gAc-XLA*/Ac|1M: 2 | -------------------------------------------------------------------------------- /spec/storage_edge_cases/...dots.txt: -------------------------------------------------------------------------------- 1 | content with dots -------------------------------------------------------------------------------- /spec/storage_edge_cases/file(1).txt: -------------------------------------------------------------------------------- 1 | content in parens -------------------------------------------------------------------------------- /spec/storage_edge_cases/file.tar.gz: -------------------------------------------------------------------------------- 1 | fake tar content -------------------------------------------------------------------------------- /spec/storage_edge_cases/file[brackets].txt: -------------------------------------------------------------------------------- 1 | content in brackets -------------------------------------------------------------------------------- /spec/storage_edge_cases/multiple spaces.txt: -------------------------------------------------------------------------------- 1 | content with multiple spaces -------------------------------------------------------------------------------- /spec/storage_edge_cases/subdirectory with spaces/nested file.txt: -------------------------------------------------------------------------------- 1 | nested content -------------------------------------------------------------------------------- /spec/storage_edge_cases/with spaces.txt: -------------------------------------------------------------------------------- 1 | content with spaces -------------------------------------------------------------------------------- /spec/storage_edge_cases/файл.txt: -------------------------------------------------------------------------------- 1 | содержание -------------------------------------------------------------------------------- /spec/storage_edge_cases/文件.txt: -------------------------------------------------------------------------------- 1 | 内容 -------------------------------------------------------------------------------- /spec/string_encoder_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/spec/string_encoder_spec.cr -------------------------------------------------------------------------------- /src/baked_file_system.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/src/baked_file_system.cr -------------------------------------------------------------------------------- /src/baked_file_system/version.cr: -------------------------------------------------------------------------------- 1 | module BakedFileSystem 2 | VERSION = "0.12.0" 3 | end 4 | -------------------------------------------------------------------------------- /src/loader.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/src/loader.cr -------------------------------------------------------------------------------- /src/loader/byte_counter.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/src/loader/byte_counter.cr -------------------------------------------------------------------------------- /src/loader/loader.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/src/loader/loader.cr -------------------------------------------------------------------------------- /src/loader/stats.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/src/loader/stats.cr -------------------------------------------------------------------------------- /src/loader/string_encoder.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schovi/baked_file_system/HEAD/src/loader/string_encoder.cr --------------------------------------------------------------------------------