MCPcopy Create free account
hub / github.com/52funny/pikpakcli / fakeEmptyFolderProvider

Struct fakeEmptyFolderProvider

cli/empty/empty_test.go:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14)
15
16type 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
24func (f *fakeEmptyFolderProvider) GetPathFolderId(dirPath string) (string, error) {
25 if id, ok := f.pathToID[filepath.Clean(dirPath)]; ok {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected