| Crates.io | s5_importer_local |
| lib.rs | s5_importer_local |
| version | 1.0.0-beta.1 |
| created_at | 2025-11-26 05:06:12.594161+00 |
| updated_at | 2025-11-26 05:06:12.594161+00 |
| description | Local filesystem importer for S5 |
| homepage | |
| repository | https://github.com/s5-dev/s5-rs |
| max_upload_size | |
| id | 1950974 |
| size | 64,586 |
Imports files from the local filesystem into an S5 filesystem (FS5).
.gitignore, .fdignore, and CACHEDIR.TAG.use s5_importer_local::LocalFileSystemImporter;
use s5_fs::FS5;
use s5_core::BlobStore;
let importer = LocalFileSystemImporter::create(
fs,
blob_store,
4, // concurrency
false, // use_base_relative_keys
true, // ignore
true, // ignore_vcs
true, // check_cachedir_tag
)?;
importer.import_path("/path/to/source".into()).await?;