Function dir_signature::get_hash [] [src]

pub fn get_hash<F: Read + Seek>(f: &mut F) -> Result<Vec<u8>, Error>

Get a hash from an index file

That hash is a last line of the index file. It may serve either as a checksum of the file or as identifier if this image/directory