()
| 98 | } |
| 99 | |
| 100 | func (opts Options) String() string { |
| 101 | var ss []string |
| 102 | for _, opt := range opts { |
| 103 | ss = append(ss, fmt.Sprint(opt)) |
| 104 | } |
| 105 | return fmt.Sprintf("Options{%s}", strings.Join(ss, ", ")) |
| 106 | } |
| 107 | |
| 108 | // FilterPath returns a new [Option] where opt is only evaluated if filter f |
| 109 | // returns true for the current [Path] in the value tree. |
nothing calls this directly
no outgoing calls
no test coverage detected