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

#477 in Filesystem

Download history 86/week @ 2024-07-30 24/week @ 2024-08-06 19/week @ 2024-09-10 7/week @ 2024-09-17 9/week @ 2024-09-24 5/week @ 2024-10-01 146/week @ 2024-10-08 32/week @ 2024-10-15 115/week @ 2024-10-22 22/week @ 2024-10-29 7/week @ 2024-11-05

207 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–8MB
~50K SLoC