| 24 | ) |
| 25 | |
| 26 | type 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 | |
| 39 | func (f *webdavFile) Readdir(_ int) ([]os.FileInfo, error) { |
| 40 | return nil, errors.New("not a directory") |
nothing calls this directly
no outgoing calls
no test coverage detected