FileGo
A file splitting & merging solution.
Quick Start
Split file from a path to a directory with the split
function.
use PathBuf;
use ;
async
License
This project is MIT licensed, you can find the license file here.
A file splitting & merging solution.
Split file from a path to a directory with the split
function.
use std::path::PathBuf;
use filego::split::{split, SplitOptions, SplitResult};
async fn example() {
let options: SplitOptions = SplitOptions {
in_file: &PathBuf::from("path").join("to").join("file"),
out_dir: &PathBuf::from("path").join("to").join("dir"),
chunk_size: 2 * 1024 * 1024,
};
let split_result: SplitResult = split(options).await.unwrap();
}
This project is MIT licensed, you can find the license file here.