MCPcopy
hub / github.com/restic/restic / fakeFile

Struct fakeFile

internal/fs/fs_reader.go:242–245  ·  view source on GitHub ↗

fakeFile implements all File methods, but only returns errors for anything except Stat()

Source from the content-addressed store, hash-verified

240// fakeFile implements all File methods, but only returns errors for anything
241// except Stat()
242type fakeFile struct {
243 name string
244 fi *ExtendedFileInfo
245}
246
247// ensure that fakeFile implements File
248var _ File = fakeFile{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected