Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/air-verse/air
/ defaultConfig
Function
defaultConfig
runner/config.go:393–395 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
391
}
392
393
func
defaultConfig() Config {
394
return
defaultConfigForOS(runtime.GOOS)
395
}
396
397
func
applyPlatformDefaults(cfg *Config, goos string) {
398
if
cfg == nil {
Callers
15
TestConfPreprocess
Function · 0.85
TestEntrypointResolvesAbsolutePath
Function · 0.85
TestEntrypointResolvesFromPath
Function · 0.85
TestEntrypointPreservesArgs
Function · 0.85
TestConfigWithRuntimeArgs
Function · 0.85
TestWithArgsSetsStartupBanner
Function · 0.85
TestColorMode
Function · 0.85
TestColorModeWithFullBin
Function · 0.85
TestNewWatcher_EventWatcherWhenPollDisabled
Function · 0.85
TestNewWatcher_PollingWatcherWhenPollEnabled
Function · 0.85
TestNewWatcher_PollIntervalHasMinimum500ms
Function · 0.85
rawLogger
Function · 0.85
Calls
1
defaultConfigForOS
Function · 0.85
Tested by
12
TestConfPreprocess
Function · 0.68
TestEntrypointResolvesAbsolutePath
Function · 0.68
TestEntrypointResolvesFromPath
Function · 0.68
TestEntrypointPreservesArgs
Function · 0.68
TestConfigWithRuntimeArgs
Function · 0.68
TestWithArgsSetsStartupBanner
Function · 0.68
TestColorMode
Function · 0.68
TestColorModeWithFullBin
Function · 0.68
TestNewWatcher_EventWatcherWhenPollDisabled
Function · 0.68
TestNewWatcher_PollingWatcherWhenPollEnabled
Function · 0.68
TestNewWatcher_PollIntervalHasMinimum500ms
Function · 0.68
TestEngineLoadEnvFile
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…