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

Method AsString

core/env.go:307–313  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

305}
306
307func (b *Binding) AsString() (string, bool) {
308 s, ok := dagql.UnwrapAs[dagql.String](b.Value)
309 if !ok {
310 return "", false
311 }
312 return s.String(), true
313}
314
315// A Dagql hook for dynamically extending the Environment and Binding types
316// based on available types

Callers 5

StringMethod · 0.95
RootAddressMethod · 0.45
syncVarsFromLLMMethod · 0.45
getModuleConfigMethod · 0.45

Calls 1

StringMethod · 0.95

Tested by

no test coverage detected