Help us shape the future of Go! Take the 2026 Go Developer Survey

artifactsum

package
v3.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package artifactsum writes SHA256 sidecars for completed distribution files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(ctx context.Context, artifact string) error

Write publishes artifact.sha256 in sha256sum format. Hashing uses bounded memory and observes cancellation; errors preserve an existing sidecar. Callers must finish writing the artifact before invoking Write.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL