pub struct FilesAndTimes { /* private fields */ }
Implementations§
Source§impl FilesAndTimes
impl FilesAndTimes
pub fn new(start_path: PathBuf) -> FilesAndTimes
Sourcepub fn is_file_up_to_date(
&self,
pref_path: &Path,
should_ignore_file_time: bool,
) -> bool
pub fn is_file_up_to_date( &self, pref_path: &Path, should_ignore_file_time: bool, ) -> bool
Returns true if the main file matches the corresponding preference location and files’ times are all current
pub fn as_path(&self) -> &Path
pub fn paths(&self) -> Vec<PathBuf>
Trait Implementations§
Source§impl Debug for FilesAndTimes
impl Debug for FilesAndTimes
Source§impl Default for FilesAndTimes
impl Default for FilesAndTimes
Source§fn default() -> FilesAndTimes
fn default() -> FilesAndTimes
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FilesAndTimes
impl RefUnwindSafe for FilesAndTimes
impl Send for FilesAndTimes
impl Sync for FilesAndTimes
impl Unpin for FilesAndTimes
impl UnwindSafe for FilesAndTimes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more