Skip to main content

Module hash

Module hash 

Source
Expand description

Content hashing per the WDL module spec.

Structs§

ContentHash
A 32-byte SHA-256 module content hash.
Hasher
An incremental content hasher for a module directory.

Enums§

ContentHashError
An error parsing a ContentHash.
HashError
An error during content hashing.

Functions§

hash_directory
Computes the content hash of a directory by walking it (excluding the spec-mandated exclusions module.sig and module-lock.json).