MCPcopy Create free account
hub / github.com/cronitorio/cronitor-cli / CommandIsComplex

Method CommandIsComplex

lib/crontab.go:454–456  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

452}
453
454func (l Line) CommandIsComplex() bool {
455 return strings.Contains(l.CommandToRun, ";") || strings.Contains(l.CommandToRun, "|") || strings.Contains(l.CommandToRun, "&&") || strings.Contains(l.CommandToRun, "||")
456}
457
458func (l Line) Write() string {
459 var outputLines []string

Callers 1

WriteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected