//! Filesystem manipulation operations.
use File;
use ;
use Path;
use crateClose;
/// Write a slice as the entire contents of a file.
///
/// This function is identical to [`std::fs::write`] but uses [`Close`]
/// to drop the [`File`](std::fs::File) created from path, returning any
/// errors encountered when doing so.