MCPcopy Create free account
hub / github.com/gogs/gogs / IsWindowsRuntime

Function IsWindowsRuntime

internal/conf/computed.go:15–17  ·  view source on GitHub ↗

ℹ️ README: This file contains configuration values that require computation to be useful. IsWindowsRuntime returns true if the current runtime in Windows.

()

Source from the content-addressed store, hash-verified

13
14// IsWindowsRuntime returns true if the current runtime in Windows.
15func IsWindowsRuntime() bool {
16 return runtime.GOOS == "windows"
17}
18
19// IsProdMode returns true if the application is running in production mode.
20func IsProdMode() bool {

Callers 8

runServFunction · 0.92
runHookPreReceiveFunction · 0.92
runHookUpdateFunction · 0.92
runHookPostReceiveFunction · 0.92
InstallFunction · 0.92
CheckRunUserFunction · 0.85
InitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected