FileDigestSha256

Type Alias FileDigestSha256 

Source
pub type FileDigestSha256 = FileDigest<HASH_LEN_SHA256>;
Expand description

A FileDigest set to the HASH_LEN of SHA256, 32 bytes.

Aliased Type§

pub struct FileDigestSha256 {
    pub digest: Digest<32>,
    pub size: usize,
    pub path: String,
}

Fields§

§digest: Digest<32>

Hash digest of a File contained in this upload. The specific length of the digest is dicated by the hash algorithm.

§size: usize

File size, in bytes, of the File contained in this upload.

§path: String

Path of the file relative to the control file, usually a buildinfo or changes.