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

Function GetStorage

internal/fs/fs.go:170–176  ·  view source on GitHub ↗
(path string, args *GetStoragesArgs)

Source from the content-addressed store, hash-verified

168}
169
170func GetStorage(path string, args *GetStoragesArgs) (driver.Driver, error) {
171 storageDriver, _, err := op.GetStorageAndActualPath(path)
172 if err != nil {
173 return nil, err
174 }
175 return storageDriver, nil
176}
177
178func Other(ctx context.Context, args model.FsOtherArgs) (interface{}, error) {
179 res, err := other(ctx, args)

Callers 15

GetMethod · 0.92
GetDetailsMethod · 0.92
getCopyObjsMethod · 0.92
getMoveObjsMethod · 0.92
getAllSortFunction · 0.92
GetDetailsMethod · 0.92
handleGetHeadPostMethod · 0.92
directObjectURLFunction · 0.92
callFSLinkMethod · 0.92
buildFSGetRawURLFunction · 0.92
ArchiveDownFunction · 0.92

Calls 1

GetStorageAndActualPathFunction · 0.92

Tested by

no test coverage detected