Crates.io | fake-file |
lib.rs | fake-file |
version | 0.1.0 |
source | src |
created_at | 2023-02-28 19:35:14.581459 |
updated_at | 2023-02-28 19:35:14.581459 |
description | A fake file generator |
homepage | |
repository | https://github.com/banyancomputer/fake-file |
max_upload_size | |
id | 797453 |
size | 52,048 |
cargo
cargo install fake-file
# Get the help menu
fake-file --help
# Generate a 4 level deep directory structre. Each directory should have 4 files.
# Each end file should add up to 1024 bytes (1 KB) in size.
fake-file -d 4 -w 4 -s 1024 -o .
Run tests
cargo test
Run benchmarks - this sees how long it takes to generate a 1GB file structure
cargo bench
For formatting Rust in particular, please use cargo fmt
as it uses
specific nightly features we recommend. Make sure you have nightly
installed.
For usage questions, usecases, or issues please open an issue in our repository.
We would be happy to try to answer your question or try opening a new issue on Github.
These are references to specifications, talks and presentations, etc.
This project is licensed under the MIT License, or http://opensource.org/licenses/MIT.