MCPcopy Create free account
hub / github.com/google/gapid / Validate

Method Validate

gapis/service/path/validate.go:306–311  ·  view source on GitHub ↗

Validate checks the path is valid.

()

Source from the content-addressed store, hash-verified

304
305// Validate checks the path is valid.
306func (n *StateTreeNodeForPath) Validate() error {
307 return anyErr(
308 checkIsValid(n, n.Tree, "tree"),
309 checkNotNilAndValidate(n, n.Member.Node(), "path"),
310 )
311}
312
313// Validate checks the path is valid.
314func (n *Stats) Validate() error {

Callers

nothing calls this directly

Calls 4

anyErrFunction · 0.85
checkIsValidFunction · 0.85
checkNotNilAndValidateFunction · 0.85
NodeMethod · 0.45

Tested by

no test coverage detected