Crates.io | filego |
lib.rs | filego |
version | 0.4.0 |
source | src |
created_at | 2024-05-22 09:06:59.273015 |
updated_at | 2024-10-26 20:07:15.231078 |
description | A file splitting & merging solution |
homepage | https://github.com/alpheustangs/filego.rs |
repository | https://github.com/alpheustangs/filego.rs |
max_upload_size | |
id | 1247722 |
size | 22,053 |
A file splitting & merging solution.
Split file from a path to a directory with Split
struct.
use std::path::PathBuf;
use filego::split::{Split, SplitResult};
async fn example() {
let result: SplitResult = Split::new()
.in_file("/path/to/file")
.out_dir(PathBuf::from("path").join("to").join("dir"))
.run()
.await
.unwrap();
}
This project is MIT licensed, you can find the license file here.