Fields
name: Stringentries: Vec<Entry>Implementations
sourceimpl Directory
impl Directory
pub fn new(path: &str) -> Result<Directory, Error>
pub fn dirs(&self) -> Vec<&String>
pub fn files(&self) -> Vec<&String>
pub fn all_dirs(&self) -> Vec<&String>
pub fn all_files(&self) -> Vec<&String>
pub fn compare(&self, other: &Directory) -> CompAction
pub fn get_deleted_paths(&self, spans: Vec<Span>) -> Vec<String>
pub fn get_replaced_paths(&self, spans: Vec<Span>) -> Vec<String>
pub fn get_inserted_paths(&self, spans: Vec<Span>) -> Vec<String>
Trait Implementations
sourceimpl PartialEq<Directory> for Directory
impl PartialEq<Directory> for Directory
impl Eq for Directory
Auto Trait Implementations
impl RefUnwindSafe for Directory
impl Send for Directory
impl Sync for Directory
impl Unpin for Directory
impl UnwindSafe for Directory
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more