MCPcopy Index your code
hub / github.com/Monibuca/engine / String

Method String

config/regexp.go:17–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17func (r Regexp) String() string {
18 if !r.Valid() {
19 return ""
20 }
21 return r.Regexp.String()
22}
23
24func (r *Regexp) UnmarshalYAML(node *yaml.Node) error {
25 r.Regexp = regexp.MustCompile(node.Value)

Callers 5

MarshalYAMLMethod · 0.95
MarshalJSONMethod · 0.95
schemaMethod · 0.45
equalFunction · 0.45
assignMethod · 0.45

Calls 1

ValidMethod · 0.95

Tested by

no test coverage detected