MCPcopy Index your code
hub / github.com/dagger/dagger / contextRoot

Method contextRoot

cmd/dagger/shell_fs.go:108–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106}
107
108func (h *shellCallHandler) contextRoot() string {
109 h.mu.RLock()
110 defer h.mu.RUnlock()
111 return h.wd.Context.ModRef("/")
112}
113
114func (h *shellCallHandler) contextModRef(path string) (string, error) {
115 apath, err := h.contextAbsPath(path)

Callers 1

contextAbsPathMethod · 0.95

Calls 1

ModRefMethod · 0.65

Tested by

no test coverage detected