Versions in this module Expand all Collapse all v0 v0.3.4 Oct 15, 2026 Changes in this version + var ErrNotDigest = errors.New("string is not an algorithm:value digest") + func Algorithm(name string) (intoto.HashAlgorithm, bool) + func LooksLikeDigest(s string) bool + func ParseDigest(s string) (intoto.HashAlgorithm, string, error) + type Options struct + Algorithms []intoto.HashAlgorithm + Subjects []string + func (so *Options) AddFlags(cmd *cobra.Command) + func (so *Options) Config() *command.OptionsSetConfig + func (so *Options) Digests() (map[string]hasher.HashSet, error) + func (so *Options) Files() []string + func (so *Options) HashSets() (hasher.FileHashSet, error) + func (so *Options) ResourceDescriptors() ([]*intoto.ResourceDescriptor, error) + func (so *Options) Validate() error