MCPcopy Create free account
hub / github.com/beevik/etree / selectRoot

Struct selectRoot

path.go:395–395  ·  view source on GitHub ↗

selectRoot selects the element's root node.

Source from the content-addressed store, hash-verified

393
394// selectRoot selects the element's root node.
395type selectRoot struct{}
396
397func (s *selectRoot) apply(e *Element, p *pather) {
398 root := e

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected