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

Method GetWorkDir

pkg/agent/session.go:88–93  ·  view source on GitHub ↗

GetWorkDir 获取工作目录

()

Source from the content-addressed store, hash-verified

86
87// GetWorkDir 获取工作目录
88func (a *Agent) GetWorkDir() string {
89 if a.sandbox != nil {
90 return a.sandbox.WorkDir()
91 }
92 return ""
93}

Callers

nothing calls this directly

Calls 1

WorkDirMethod · 0.65

Tested by

no test coverage detected