filego

Crates.iofilego
lib.rsfilego
version0.2.2
sourcesrc
created_at2024-05-22 09:06:59.273015
updated_at2024-06-22 07:13:39.895018
descriptionA solution for splitting, checking and merging files
homepagehttps://github.com/alpheustangs/filego.rs
repositoryhttps://github.com/alpheustangs/filego.rs
max_upload_size
id1247722
size15,021
Alpheus (alpheustangs)

documentation

README

FileGo

A solution for splitting, checking and merging files.

Quick Start

Split file from a path to a directory with the split function.

use filego::{split, SplitOptions, SplitResult};

async fn example() {
    let options: SplitOptions = SplitOptions {
        in_file: "path/to/file".to_string(),
        out_dir: "path/to/dir".to_string(),
        chunk_size: 2 * 1024 * 1024,
    };

    let split_result: SplitResult = split(options).await.unwrap();
}

License

This project is MIT licensed, you can find the license file here.

Commit count: 17

cargo fmt