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

#494 in Filesystem

Download history 103/week @ 2024-08-03 5/week @ 2024-08-10 25/week @ 2024-09-14 8/week @ 2024-09-21 7/week @ 2024-09-28 169/week @ 2024-10-12 10/week @ 2024-10-19 127/week @ 2024-10-26 15/week @ 2024-11-02 1/week @ 2024-11-09 3/week @ 2024-11-16

146 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