MCPcopy
hub / github.com/kopia/kopia / webdavFile

Struct webdavFile

internal/webdavmount/webdavmount.go:26–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24)
25
26type webdavFile struct {
27 // webdavFile implements webdav.File but needs context
28 // +checklocks:mu
29 ctx context.Context //nolint:containedctx
30
31 entry fs.File
32
33 mu sync.Mutex
34
35 // +checklocks:mu
36 r fs.Reader
37}
38
39func (f *webdavFile) Readdir(_ int) ([]os.FileInfo, error) {
40 return nil, errors.New("not a directory")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected