MCPcopy
hub / github.com/perkeep/perkeep / basename

Function basename

pkg/blobserver/diskpacked/stream_test.go:76–78  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

74}
75
76func basename(i int) string {
77 return fmt.Sprintf("pack-%05d.blobs", i)
78}
79
80func writePack(t *testing.T, dir string, i int, p pack) {
81 fd, err := os.Create(filepath.Join(dir, basename(i)))

Callers 1

writePackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected