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

Method ObjectType

dagql/server.go:870–876  ·  view source on GitHub ↗

ObjectType returns the ObjectType with the given name, if it exists.

(name string)

Source from the content-addressed store, hash-verified

868
869// ObjectType returns the ObjectType with the given name, if it exists.
870func (s *Server) ObjectType(name string) (ObjectType, bool) {
871 s.reconcileInterfaceImplsIfDirty()
872 s.installLock.RLock()
873 defer s.installLock.RUnlock()
874 t, ok := s.objects[name]
875 return t, ok
876}
877
878// ScalarType returns the ScalarType with the given name, if it exists.
879func (s *Server) ScalarType(name string) (ScalarType, bool) {

Callers 4

ResolveMethod · 0.95
isObjectTypeMethod · 0.95
resolvePathMethod · 0.95
toSelectableMethod · 0.95

Calls 1

Tested by

no test coverage detected