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

Method joinRemotePathForTarget

drivers/chunker/util.go:276–279  ·  view source on GitHub ↗
(logicalPath string, remoteIndex int)

Source from the content-addressed store, hash-verified

274}
275
276func (d *Chunker) joinRemotePathForTarget(logicalPath string, remoteIndex int) string {
277 target := d.remoteTargets[remoteIndex]
278 return joinRemotePathWithBase(target.MountPath, logicalPath)
279}
280
281func (d *Chunker) getActualPathForRemote(logicalPath string) (string, error) {
282 return d.getActualPathForRemoteOnTarget(logicalPath, 0)

Callers 4

listDirObjectsMethod · 0.95
targetPathExistsMethod · 0.95
ensureDirOnTargetMethod · 0.95

Calls 1

joinRemotePathWithBaseFunction · 0.85

Tested by

no test coverage detected