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

#527 in Filesystem

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