filego 0.3.0

A file splitting & merging solution
Documentation

FileGo

A file splitting & merging solution.

Quick Start

Split file from a path to a directory with the split function.

use std::path::PathBuf;

use filego::split::{split, SplitOptions, SplitResult};

async fn example() {
    let options: SplitOptions = SplitOptions {
        in_file: &PathBuf::from("path").join("to").join("file"),
        out_dir: &PathBuf::from("path").join("to").join("dir"),
        chunk_size: 2 * 1024 * 1024,
    };

    let split_result: SplitResult = split(options).await.unwrap();
}

License

This project is MIT licensed, you can find the license file here.