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

Method moduleSourceWithoutToolchains

core/schema/modulesource.go:2050–2059  ·  view source on GitHub ↗
(
	ctx context.Context,
	parentSrc *core.ModuleSource,
	args struct {
		Toolchains []string
	},
)

Source from the content-addressed store, hash-verified

2048}
2049
2050func (s *moduleSourceSchema) moduleSourceWithoutToolchains(
2051 ctx context.Context,
2052 parentSrc *core.ModuleSource,
2053 args struct {
2054 Toolchains []string
2055 },
2056) (*core.ModuleSource, error) {
2057 accessor := moduleRelationTypeAccessor{typ: core.ModuleRelationTypeToolchain}
2058 return s.moduleSourceRemoveItems(ctx, parentSrc, args.Toolchains, accessor)
2059}
2060
2061func (s *moduleSourceSchema) moduleSourceWithoutBlueprint(
2062 ctx context.Context,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected