Skip to main content

reset_fs

Function reset_fs 

Source
pub fn reset_fs()
Expand description

Resets the simulated filesystem to an empty state

Clears all files and directories from the in-memory filesystem simulator.

ยงPanics

  • If the FILES RwLock fails to write to