Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 589 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 589 Bytes

FileGo

A file splitting & merging solution.

Installation

To install this package, run the following command:

cargo add filego

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.