MCPcopy Create free account
hub / github.com/astercloud/aster / absPath

Method absPath

pkg/sandbox/cloud/volcengine.go:322–327  ·  view source on GitHub ↗

absPath 转换为绝对路径

(path string)

Source from the content-addressed store, hash-verified

320
321// absPath 转换为绝对路径
322func (vfs *VolcengineFS) absPath(path string) string {
323 if filepath.IsAbs(path) {
324 return path
325 }
326 return filepath.Join(vfs.workDir, path)
327}

Callers 6

ResolveMethod · 0.95
IsInsideMethod · 0.95
ReadMethod · 0.95
WriteMethod · 0.95
StatMethod · 0.95
GlobMethod · 0.95

Calls 1

JoinMethod · 0.45

Tested by

no test coverage detected