Dashboard
Specification
Planning
Implementation
src/usb.rs — USB detection and capacity checks (platform-specific).
src/usb.rs
get_available_space queries available bytes on the destination volume. Platform-specific: macOS (/Volumes/*), Linux (/media/$USER/*).
get_available_space
/Volumes/*
/media/$USER/*
sync_filesystem calls the platform sync syscall to flush buffers before the user removes the drive.
sync_filesystem
sync