MCPcopy Create free account
hub / github.com/rilldata/rill / isDev

Method isDev

runtime/parser/parser.go:1090–1092  ·  view source on GitHub ↗

isDev returns true if the parser's instance's environment is "dev". Usually this means it's running on localhost with "rill start".

()

Source from the content-addressed store, hash-verified

1088// isDev returns true if the parser's instance's environment is "dev".
1089// Usually this means it's running on localhost with "rill start".
1090func (p *Parser) isDev() bool {
1091 return strings.EqualFold(p.Environment, "dev")
1092}
1093
1094// pathIsSQL returns true if the path is a SQL file
1095func pathIsSQL(path string) bool {

Callers 1

parseScheduleYAMLMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected