8 unstable releases (3 breaking)

0.4.1 Dec 16, 2024
0.4.0 Oct 26, 2024
0.3.0 Oct 13, 2024
0.2.3 Aug 4, 2024
0.1.0 May 22, 2024

#789 in Filesystem

Download history 2/week @ 2024-10-03 161/week @ 2024-10-10 18/week @ 2024-10-17 118/week @ 2024-10-24 21/week @ 2024-10-31 4/week @ 2024-11-07 2/week @ 2024-11-14 1/week @ 2024-11-21 3/week @ 2024-12-05 136/week @ 2024-12-12 17/week @ 2024-12-19

653 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 licensed under the terms of the MIT license.


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