MCPcopy
hub / github.com/syncthing/syncthing / fakeFile

Struct fakeFile

lib/scanner/virtualfs_test.go:130–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128func (fakeInfo) Sys() interface{} { return nil }
129
130type fakeFile struct {
131 name string
132 size int64
133 readOffset int64
134}
135
136func (f *fakeFile) Name() string {
137 return f.name

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected