MCPcopy Create free account
hub / github.com/compose-spec/compose-go / ResetProcessor

Struct ResetProcessor

loader/reset.go:40–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40type 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
51func (p *ResetProcessor) UnmarshalYAML(value *yaml.Node) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected