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

Method Resolve

pkg/sandbox/cloud/volcengine.go:215–217  ·  view source on GitHub ↗

Resolve 解析路径为绝对路径

(path string)

Source from the content-addressed store, hash-verified

213
214// Resolve 解析路径为绝对路径
215func (vfs *VolcengineFS) Resolve(path string) string {
216 return vfs.absPath(path)
217}
218
219// IsInside 检查路径是否在沙箱内
220func (vfs *VolcengineFS) IsInside(path string) bool {

Callers

nothing calls this directly

Calls 1

absPathMethod · 0.95

Tested by

no test coverage detected