Versions in this module Expand all Collapse all v0 v0.0.5 Nov 12, 2024 v0.0.3 Nov 12, 2024 Changes in this version + func IsChecksumFile(path string) bool + func IsMetaFile(path string) bool + func ParseMetaFile(log ports.Logger, f ports.FS, metaFileName string) (map[string]string, error) + func RegisterChecksumAlgo(prio int, pattern string, algo ports.ChecksumAlgo) + func RegisterMetaAlgo(prio int, pattern string, algo ports.MetaAlgo) + type BasicArtifactStorageAdapter struct + func NewBasicArtifactStorageAdapter(log ports.Logger, f ports.FS) (*BasicArtifactStorageAdapter, error) + func (s *BasicArtifactStorageAdapter) Close() + func (s *BasicArtifactStorageAdapter) NewArtifact(src ports.FS, input string, artifacts []string, storage string, ...) (*ports.NewArtifactInfo, error) + func (s *BasicArtifactStorageAdapter) OpenFile(storage string, artifactID models.ArtifactID, filename string) (ports.File, error) + func (s *BasicArtifactStorageAdapter) RemoveArtifact(storage string, artifactID models.ArtifactID) error + type ChecksumAlgoInfo struct + type ChecksumStr = string + func CheckChecksum(log ports.Logger, f ports.FS, checksumFileName string) (ChecksumStr, ports.CheckedFiles, error) + type MetaAlgoInfo struct