pub struct FileRoot {
pub path: PathBuf,
pub expected_hash: String,
}Expand description
One file dependency of a cache entry. The tool computed its output as a function of (path, contents at expected_hash). On every green hit we re-blake3 the file and require the hash to still match; if it does not, the entry is invalidated.
Fields§
§path: PathBuf§expected_hash: StringTrait Implementations§
impl Eq for FileRoot
impl StructuralPartialEq for FileRoot
Auto Trait Implementations§
impl Freeze for FileRoot
impl RefUnwindSafe for FileRoot
impl Send for FileRoot
impl Sync for FileRoot
impl Unpin for FileRoot
impl UnsafeUnpin for FileRoot
impl UnwindSafe for FileRoot
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