use fs;
use io;
use ;
use ;
use crateMutationClass;
use ;
pub use ;
/// Snapshots a file's contents on creation and restores them on drop.
/// If the drop handler fails to restore (disk full, permission error),
/// we emit an eprintln and set a global flag the probe checks before
/// exiting so the caller is alerted rather than silently corrupting
/// the working tree.