pub struct SyncFile {
pub path: String,
pub content_hash: ContentHash,
pub modified: Timestamp,
}Expand description
A scanned candidate file for sync.
path is relative to the sync root with forward slashes (stable across
machines and working directories). modified is the file’s mtime and
becomes the episode’s occurred_at, so episode ids are stable across
re-syncs of an unchanged tree.
Fields§
§path: String§content_hash: ContentHash§modified: TimestampTrait Implementations§
impl Eq for SyncFile
impl StructuralPartialEq for SyncFile
Auto Trait Implementations§
impl Freeze for SyncFile
impl RefUnwindSafe for SyncFile
impl Send for SyncFile
impl Sync for SyncFile
impl Unpin for SyncFile
impl UnsafeUnpin for SyncFile
impl UnwindSafe for SyncFile
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