| 38 | } |
| 39 | |
| 40 | type ResetProcessor struct { |
| 41 | target any |
| 42 | paths []tree.Path |
| 43 | visitedNodes map[*yaml.Node][]tree.Path |
| 44 | resolvedNodes map[*yaml.Node]nodeCache |
| 45 | visitCount int |
| 46 | // maxNodeVisits is the per-document cap; when zero, defaultMaxNodeVisits is used. |
| 47 | maxNodeVisits int |
| 48 | } |
| 49 | |
| 50 | // UnmarshalYAML implement yaml.Unmarshaler |
| 51 | func (p *ResetProcessor) UnmarshalYAML(value *yaml.Node) error { |
nothing calls this directly
no outgoing calls
no test coverage detected