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

Method Resolve

pkg/sandbox/interface.go:34–34  ·  view source on GitHub ↗

Resolve 解析路径为绝对路径

(path string)

Source from the content-addressed store, hash-verified

32type SandboxFS interface {
33 // Resolve 解析路径为绝对路径
34 Resolve(path string) string
35
36 // IsInside 检查路径是否在沙箱内
37 IsInside(path string) bool

Callers 5

execWithLimitsMethod · 0.65
WatchMethod · 0.65
execDirectMethod · 0.65
TestLocalSandbox_FSFunction · 0.65
ListInfoMethod · 0.65

Implementers 6

RealFSpkg/tools/builtin/testutils.go
MockFSpkg/sandbox/mock.go
LocalFSpkg/sandbox/local_fs.go
RemoteFSpkg/sandbox/remote.go
AliyunFSpkg/sandbox/cloud/aliyun.go
VolcengineFSpkg/sandbox/cloud/volcengine.go

Calls

no outgoing calls

Tested by 1

TestLocalSandbox_FSFunction · 0.52