pub struct FileRecency {
pub last_touched_days: Option<f64>,
pub hot: bool,
}Expand description
Per-file recency metadata derived from a single git log call.
Fields§
§last_touched_days: Option<f64>Days since last commit on this file (fractional). None if git
is unavailable or the file has no git history.
hot: boolTrue when the file was last touched within hot_days days.
Trait Implementations§
Source§impl Clone for FileRecency
impl Clone for FileRecency
Auto Trait Implementations§
impl Freeze for FileRecency
impl RefUnwindSafe for FileRecency
impl Send for FileRecency
impl Sync for FileRecency
impl Unpin for FileRecency
impl UnsafeUnpin for FileRecency
impl UnwindSafe for FileRecency
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