which-fs 0.0.3

Give me a path, I'll tell you the filesystem it's on
Documentation

which-fs-rs

Give me a path, I'll tell you the filesystem it's on

Works on Windows, Linux, and macOS

WIP: only supports the following filesystems:

  • FAT32
  • exFAT
  • APFS

Usage

let path = Path::new("/Volumes/My Volume/My Folder");
let fs_kind = which_fs::detect(path).unwrap();
println!("{} is on {}", path.display(), fs_kind);