MCPcopy
hub / github.com/AlistGo/alist / getActualPathForRemote

Method getActualPathForRemote

drivers/crypt/util.go:41–44  ·  view source on GitHub ↗

actual path is used for internal only. any link for user should come from remoteFullPath

(path string, isFolder bool)

Source from the content-addressed store, hash-verified

39
40// actual path is used for internal only. any link for user should come from remoteFullPath
41func (d *Crypt) getActualPathForRemote(path string, isFolder bool) (string, error) {
42 _, remoteActualPath, err := op.GetStorageAndActualPath(d.getPathForRemote(path, isFolder))
43 return remoteActualPath, err
44}

Callers 7

LinkMethod · 0.95
MakeDirMethod · 0.95
MoveMethod · 0.95
RenameMethod · 0.95
CopyMethod · 0.95
RemoveMethod · 0.95
PutMethod · 0.95

Calls 2

getPathForRemoteMethod · 0.95
GetStorageAndActualPathFunction · 0.92

Tested by

no test coverage detected