MCPcopy Create free account
hub / github.com/cogentcore/core / Init

Method Init

parse/parser/trace.go:56–62  ·  view source on GitHub ↗

Init intializes tracer after any changes -- opens pipe if not already open

()

Source from the content-addressed store, hash-verified

54
55// Init intializes tracer after any changes -- opens pipe if not already open
56func (pt *TraceOptions) Init() {
57 if pt.Rules == "" {
58 pt.RulesList = nil
59 } else {
60 pt.RulesList = strings.Split(pt.Rules, " ")
61 }
62}
63
64// FullOn sets all options on
65func (pt *TraceOptions) FullOn() {

Callers 1

CheckRuleMethod · 0.95

Calls 1

SplitMethod · 0.80

Tested by

no test coverage detected