Skip to main content

run

Function run 

Source
pub fn run(mountpoint: PathBuf) -> Result<()>
Expand description

Unmounts a previously mounted Hexz filesystem.

Architectural intent: Attempts to detach the FUSE mount using the platform-preferred tool (fusermount -u on Linux), falling back to umount when necessary.

Constraints: The mountpoint must refer to a valid mount; both commands rely on external system utilities and their presence on $PATH.

Side effects: Spawns subprocesses to invoke unmount operations and prints status messages to stdout; on failure, returns a descriptive error.