MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / GetPath

Function GetPath

pkg/ijson/ijson.go:179–181  ·  view source on GitHub ↗
(data any, path []any)

Source from the content-addressed store, hash-verified

177}
178
179func GetPath(data any, path []any) (any, error) {
180 return getPathInternal(data, pathWithPos{Path: path, Index: 0})
181}
182
183func getPathInternal(data any, pp pathWithPos) (any, error) {
184 if data == nil {

Callers 2

TestGetPathFunction · 0.85
TestSetPathFunction · 0.85

Calls 1

getPathInternalFunction · 0.85

Tested by 2

TestGetPathFunction · 0.68
TestSetPathFunction · 0.68