MCPcopy
hub / github.com/perkeep/perkeep / fakeFile

Struct fakeFile

pkg/test/integration/upload_test.go:31–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29)
30
31type fakeFile struct {
32 name string
33 size int64
34 modTime time.Time
35
36 content string
37}
38
39func newFakeFile(name, content string, modTime time.Time) *fakeFile {
40 return &fakeFile{name, int64(len(content)), modTime, content}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected