[−][src]Trait lms::file_ops::FileOps
Interface for all file structs to perform common operations
Ensures that all files (file, dir, symlink) have a way of obtaining their path, copying, and deleting
Interface for all file structs to perform common operations
Ensures that all files (file, dir, symlink) have a way of obtaining their path, copying, and deleting
fn path(&self) -> &PathBuf
fn remove(&self, path: &PathBuf)
fn copy(&self, src: &PathBuf, dest: &PathBuf)
impl FileOps for Dir
[src]fn path(&self) -> &PathBuf
[src]fn remove(&self, path: &PathBuf)
[src]fn copy(&self, _src: &PathBuf, dest: &PathBuf)
[src]impl FileOps for File
[src]fn path(&self) -> &PathBuf
[src]fn remove(&self, path: &PathBuf)
[src]fn copy(&self, src: &PathBuf, dest: &PathBuf)
[src]impl FileOps for Symlink
[src]