| 14 | ) |
| 15 | |
| 16 | type fakeEmptyFolderProvider struct { |
| 17 | rootID string |
| 18 | pathToID map[string]string |
| 19 | folders map[string][]api.FileStat |
| 20 | deletedFiles []string |
| 21 | mu sync.Mutex |
| 22 | } |
| 23 | |
| 24 | func (f *fakeEmptyFolderProvider) GetPathFolderId(dirPath string) (string, error) { |
| 25 | if id, ok := f.pathToID[filepath.Clean(dirPath)]; ok { |
nothing calls this directly
no outgoing calls
no test coverage detected