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
Walks root and computes the deterministic content hash of the module directory, skipping non-module content and spec-defined exclusions.