Crate tempfs

Source
Expand description

A library primarily providing an interface to create temporary directories and files.

It also provides several features:

  • rand_gen : Support for randomly generated file and directory names.
  • mmap_support : Support for memory mapping temporary files with memmap2.
  • regex_support : Support for searching temporary directory’s contained files using regex.
  • virt_fs : Provides a virtual, in-memory filesystem with files, directories, permissions, metadata, and generally mimics a Linux filesystem. display_files : Allows Displaying TempFile and VirtFile.
  • full : Enables all of the above.

Re-exports§

pub use temp_dir::TempDir;
pub use temp_file::TempFile;
pub use error::*;
pub use virt_fs::*;

Modules§

error
Errors which can occur when using the types provided by tempfs.
temp_dir
Module providing temporary directories.
temp_file
Module providing temporary files.
virt_fs
Module providing a virtual unix-like filesystem.