pub fn has_fresh(&self, file: impl AsRef<Path> + Debug) -> Result<bool> {
        let file = file.as_ref();
        let fingerprint = Fingerprint::new(file)?;
        Ok(self.fingerprints.get(file) == Some(&fingerprint))
    }
/// Returns true if the artifact cache is fresh and the artifact compilation can be skipped.
Returns true if the artifact cache is fresh and the artifact compilation can be skipped.
Returns true if the artifact cache is fresh and the artifact compilation can be skipped .
pub fn has_fresh(&self, file: impl AsRef<Path> + Debug) -> Result<bool> {
        let file = file.as_ref();
        let fingerprint = Fingerprint::new(file)?;
        Ok(self.fingerprints.get(file) == Some(&fingerprint))
    }
pub fn has_fresh ( & self , file : impl AsRef < Path > + Debug ) -> Result < bool > { let file = file . as_ref ( ) ; let fingerprint = Fingerprint :: new ( file ) ? ; Ok ( self . fingerprints . get ( file ) == Some ( & fingerprint ) ) }
Returns true if the artifact cache is fresh and the artifact compilation can be skipped.
Returns true if the artifact cache is fresh and the artifact compilation can be skipped .
&self
file
impl AsRef<Path> + Debug