MCPcopy Create free account
hub / github.com/github/gh-aw / parseNamedFuzzyBase

Method parseNamedFuzzyBase

pkg/parser/schedule_parser.go:453–458  ·  view source on GitHub ↗
(name, cronExpr string)

Source from the content-addressed store, hash-verified

451}
452
453func (p *ScheduleParser) parseNamedFuzzyBase(name, cronExpr string) (string, error) {
454 if len(p.tokens) == 1 {
455 return cronExpr, nil
456 }
457 return "", fmt.Errorf("%s schedule does not support additional parameters, use '%s' alone for fuzzy schedule", name, name)
458}
459
460func (p *ScheduleParser) parseMonthlyBase() (string, error) {
461 scheduleLog.Printf("Parsing monthly schedule: token_count=%d", len(p.tokens))

Callers 1

parseBaseMethod · 0.95

Calls 1

ErrorfMethod · 0.45

Tested by

no test coverage detected