type go.pact.im/x/goship/internal/modsum.Checksums
15 uses
go.pact.im/x/goship/internal/modsum (current package)
checksum.go#L23: type Checksums struct {
checksum.go#L43: func ComputeFS(fsys fs.FS, modDir, modPath, ver string, tracked []vcs.FileEntry) (Checksums, error) {
checksum.go#L71: return Checksums{}, fmt.Errorf("no tracked files found for module %s in %q", modPath, modDir)
checksum.go#L77: return Checksums{}, fmt.Errorf("create module zip for %s@%s: %w", modPath, ver, err)
checksum.go#L82: return Checksums{}, fmt.Errorf("hash module zip for %s@%s: %w", modPath, ver, err)
checksum.go#L90: return Checksums{}, fmt.Errorf("hash go.mod for %s@%s: %w", modPath, ver, err)
checksum.go#L93: return Checksums{
checksum.go#L102: func Compute(rootDir, modDir, modPath, ver string, tracked []vcs.FileEntry) (Checksums, error) {
rewrite.go#L26: func RewriteModule(filename string, origMod, origSum []byte, updates map[string]Checksums) (RewriteResult, error) {
rewrite.go#L33: applied := make(map[string]Checksums)
rewrite.go#L68: func UpdateModule(modAbsDir string, updates map[string]Checksums) ([]string, error) {
rewrite.go#L108: func mergeGoSum(orig []byte, replaced map[string]string, applied map[string]Checksums) []byte {
go.pact.im/x/goship/internal/release
execute.go#L79: checksums := make(map[string]modsum.Checksums, plan.TotalModules)
execute.go#L169: checksums map[string]modsum.Checksums,
execute.go#L178: depUpdates := make(map[string]modsum.Checksums, len(mod.Deps))