MCPcopy Create free account
hub / github.com/brimdata/super / DerefPath

Method DerefPath

value.go:387–393  ·  view source on GitHub ↗
(path field.Path)

Source from the content-addressed store, hash-verified

385}
386
387func (v *Value) DerefPath(path field.Path) *Value {
388 for len(path) != 0 {
389 v = v.Deref(path[0])
390 path = path[1:]
391 }
392 return v
393}
394
395func (v *Value) AsString() string {
396 if v != nil && TypeUnder(v.Type()) == TypeString {

Callers 2

WriteMethod · 0.80
WriteMethod · 0.80

Calls 1

DerefMethod · 0.95

Tested by

no test coverage detected