Function finalBin [src]
Returns a binary hash of the inputs.
Prototype
pub fn finalBin(self: *Manifest) BinDigest
Parameters
self: *Manifest
Source
pub fn finalBin(self: *Manifest) BinDigest {
assert(self.manifest_file != null);
// We don't close the manifest file yet, because we want to
// keep it locked until the API user is done using it.
// We also don't write out the manifest yet, because until
// cache_release is called we still might be working on creating
// the artifacts to cache.
var bin_digest: BinDigest = undefined;
self.hash.hasher.final(&bin_digest);
return bin_digest;
}