MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / Descendants

Method Descendants

options/options.go:49–57  ·  view source on GitHub ↗

Descendants returns an iterator over the child Options if any.

()

Source from the content-addressed store, hash-verified

47
48// Descendants returns an iterator over the child Options if any.
49func (o *Options) Descendants() iter.Seq[*Options] {
50 return func(yield func(*Options) bool) {
51 for c := o.child; c != nil; c = c.child {
52 if !yield(c) {
53 return
54 }
55 }
56 }
57}
58
59// HasChild checks if the Options has a child Options.
60func (o *Options) HasChild() bool {

Callers 4

PropagateMethod · 0.95
DeleteFromDescendantsMethod · 0.95
MapMethod · 0.95
NestedMapMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected