pub struct InputFile<'a> {
pub workspace_absolute_path: &'a str,
pub content_hash: [u8; 32],
}Expand description
Contribution of one file matched by an inputs pattern
(CACHE-006).
workspace_absolute_path is the path’s canonical workspace-
absolute form (PATH-*); content_hash is the file’s content
hash under the cache’s configured hash function. The cache does
NOT compute the content hash itself in this layer: callers
resolve globs to files, hash each file’s contents through the
same Hasher algorithm, and hand the resulting digests here.
Fields§
§workspace_absolute_path: &'a strCanonical workspace-absolute path of the file.
content_hash: [u8; 32]Content hash of the file’s bytes under the configured hash function.
Auto Trait Implementations§
impl<'a> Freeze for InputFile<'a>
impl<'a> RefUnwindSafe for InputFile<'a>
impl<'a> Send for InputFile<'a>
impl<'a> Sync for InputFile<'a>
impl<'a> Unpin for InputFile<'a>
impl<'a> UnsafeUnpin for InputFile<'a>
impl<'a> UnwindSafe for InputFile<'a>
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