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

Method IsDefaultModule

cmd/dagger/shell_fs.go:599–601  ·  view source on GitHub ↗

IsDefaultModule returns true if the given module reference points to the current context's module

(ref string)

Source from the content-addressed store, hash-verified

597// IsDefaultModule returns true if the given module reference points to
598// the current context's module
599func (h *shellCallHandler) IsDefaultModule(ref string) bool {
600 return ref == "" || ref == h.modDigest()
601}

Callers 1

lookupFieldMethod · 0.80

Calls 1

modDigestMethod · 0.95

Tested by

no test coverage detected