MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / HasStorage

Function HasStorage

internal/op/storage.go:33–35  ·  view source on GitHub ↗
(mountPath string)

Source from the content-addressed store, hash-verified

31}
32
33func HasStorage(mountPath string) bool {
34 return storagesMap.Has(utils.FixAndCleanPath(mountPath))
35}
36
37func GetStorageByMountPath(mountPath string) (driver.Driver, error) {
38 mountPath = utils.FixAndCleanPath(mountPath)

Callers 2

UpdateFunction · 0.92
executeTaskMethod · 0.92

Calls 2

FixAndCleanPathFunction · 0.92
HasMethod · 0.45

Tested by

no test coverage detected