MCPcopy Create free account
hub / github.com/dagger/dagger / addDirectives

Method addDirectives

dagql/interfaces.go:374–378  ·  view source on GitHub ↗
(directives ...*ast.Directive)

Source from the content-addressed store, hash-verified

372}
373
374func (iface *Interface) addDirectives(directives ...*ast.Directive) {
375 iface.relationsL.Lock()
376 defer iface.relationsL.Unlock()
377 iface.directives = append(iface.directives, directives...)
378}
379
380// addImplementor records that an object type implements this interface.
381func (iface *Interface) addImplementor(typeName string) {

Callers 1

InstallInterfaceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected