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

Method NonModuleParentClientMetadata

core/query.go:85–85  ·  view source on GitHub ↗

Metadata about the main client, aka "non-module parent client", aka "NMPC". The NMPC is the nearest ancestor client that is not a module. It is either a caller from the host like the CLI or a nested exec. Useful for figuring out where local sources should be resolved from through chains of dependen

(context.Context)

Source from the content-addressed store, hash-verified

83 // Useful for figuring out where local sources should be resolved from through
84 // chains of dependency modules.
85 NonModuleParentClientMetadata(context.Context) (*engine.ClientMetadata, error)
86
87 // The cached workspace result from ensureWorkspaceLoaded.
88 CurrentWorkspace(context.Context) (*Workspace, error)

Callers 7

LoadUserDefaultsMethod · 0.65
loadContextFromSourceMethod · 0.65
LoadContextFileMethod · 0.65
ValueMethod · 0.65
UserDefaultMethod · 0.65
loadLLMRouterFunction · 0.65
gitMethod · 0.65

Implementers 3

mockServercore/telemetry_test.go
currentTypeDefsTestServercore/schema/test_server_test.go
Serverengine/server/server.go

Calls

no outgoing calls

Tested by

no test coverage detected