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

Method LoadedModulePaths

cmd/dagger/shell_exec.go:1046–1050  ·  view source on GitHub ↗

LoadedModulePaths returns a sorted list of the paths to all loaded modules

()

Source from the content-addressed store, hash-verified

1044
1045// LoadedModulePaths returns a sorted list of the paths to all loaded modules
1046func (h *shellCallHandler) LoadedModulePaths() []string {
1047 return slices.Sorted(h.loadedModuleValues(func(def *moduleDef) string {
1048 return h.modRelPath(def)
1049 }))
1050}
1051
1052// loadedModuleValues iterates over all loaded module definition values after applying provided function
1053func (h *shellCallHandler) loadedModuleValues(fn func(*moduleDef) string) iter.Seq[string] {

Callers 1

completionsMethod · 0.80

Calls 2

loadedModuleValuesMethod · 0.95
modRelPathMethod · 0.95

Tested by

no test coverage detected