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

Method minimumIntervalTokenCount

pkg/parser/schedule_parser.go:215–220  ·  view source on GitHub ↗
(hasWeekdaysSuffix bool)

Source from the content-addressed store, hash-verified

213}
214
215func (p *ScheduleParser) minimumIntervalTokenCount(hasWeekdaysSuffix bool) int {
216 if hasWeekdaysSuffix {
217 return 5
218 }
219 return 3
220}
221
222func (p *ScheduleParser) parseLongIntervalParts() (int, string, error) {
223 intervalStr := p.tokens[1]

Callers 1

parseLongIntervalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected