mirror of
https://github.com/obhq/exfat.git
synced 2024-10-07 00:43:27 +00:00
Pure Rust implementation of exFAT file system
.github/workflows | ||
.vscode | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
COPYING | ||
README.md |
exFAT in pure Rust
This is an implementation of exFAT in pure Rust. Currently it is supports only reading, not writing; and not all features is implemented but if all you need is listing the directories and read the files then you are good to go.
Usage
use exfat::image::Image;
use std::fs::File;
let image = File::open("exfat.img").expect("cannot open exfat.img");
let image = Image::open(image).expect("cannot open exFAT image from exfat.img");
let root = Root::open(image).expect("cannot open the root directory");
for item in root {
// item will be either file or directory.
}
License
MIT