Skip to content

Latest commit

ย 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

which-fs-rs

Latest version Documentation License

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

Works on Windows, Linux, and macOS

Warning

This library only supports some popular filesystems (see here)

Usage

As a library:

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

As a cli:

% which-fs .
Filesystem: APFS

About

๐Ÿ” Give me a path, I'll tell you the filesystem it's on

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages