Skip to main content

Module output

Module output 

Source

Structs§

OutputPaths
Where each emitted file lives under the output root.

Enums§

OutputError

Functions§

paths_for
Resolve the paths for <root>/<plugin>/<version>/....
sha256_of_file
Compute the lowercase-hex SHA-256 of a file, reading in chunks so large artifacts don’t need to fit in memory.
write_tree
Write the full tree atomically-ish: create dirs, then write each file. Returns the manifest bytes written (for signing). When dry_run is true, no filesystem writes occur and an empty Vec is returned.

Type Aliases§

Result