7 unstable releases (3 breaking)

0.4.0 Oct 26, 2024
0.3.0 Oct 13, 2024
0.2.3 Aug 4, 2024
0.2.2 Jun 22, 2024
0.1.0 May 22, 2024

#611 in Filesystem

Download history 69/week @ 2024-07-29 41/week @ 2024-08-05 25/week @ 2024-09-16 9/week @ 2024-09-23 6/week @ 2024-09-30 115/week @ 2024-10-07 63/week @ 2024-10-14 104/week @ 2024-10-21 32/week @ 2024-10-28

314 downloads per month

MIT license

23KB
478 lines

FileGo

A file splitting & merging solution.

Quick Start

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();
}

License

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


lib.rs:

FileGo

A file splitting & merging solution.

Quick Start

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();
}

Dependencies

~2.1–7.5MB
~50K SLoC