pub fn tracking_copy(&self, hash: Digest) -> Result<Option<TrackingCopy<S::Reader>>, Error> {
        match self.state.checkout(hash).map_err(Into::into)? {
            Some(tc) => Ok(Some(TrackingCopy::new(tc))),
            None => Ok(None),
        }
    }
/// Creates a new tracking copy instance.
Creates a new tracking copy instance.
Creates a new tracking copy instance .
pub fn tracking_copy(&self, hash: Digest) -> Result<Option<TrackingCopy<S::Reader>>, Error> {
        match self.state.checkout(hash).map_err(Into::into)? {
            Some(tc) => Ok(Some(TrackingCopy::new(tc))),
            None => Ok(None),
        }
    }
pub fn tracking_copy ( & self , hash : Digest ) -> Result < Option < TrackingCopy < S :: Reader > > , Error > { match self . state . checkout ( hash ) . map_err ( Into :: into ) ? { Some ( tc ) => Ok ( Some ( TrackingCopy :: new ( tc ) ) ) , None => Ok ( None ) , } }
Creates a new tracking copy instance.
Creates a new tracking copy instance .
&self
hash
Digest
&self
hash
Digest