Registry / utility / lfs-core

lfs-core

JSON →
library0.19.3rscratesunverified

Provides information on mounted disks.

# Cargo.toml [dependencies] lfs-core = "0.19.3"
INSTALL
IMPORT
SIG · LFS-CORE
L
lfs-core
utilityrustv0.19.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DiskInfo
use lfs_core::DiskInfo;

Lists all mounted disks and their available space.

use lfs_core::DiskInfo; fn main() { let disks = DiskInfo::all().unwrap(); for disk in disks { println!("{}: {} free", disk.mount_point, disk.available_space); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.19.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
lfs-core — cargo add lfs-core · libregistry