Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/efogdev/mpris-timer
/ bool2int
Function
bool2int
internal/core/const.go:100–105 ·
view source on GitHub ↗
(b bool)
Source
from the content-addressed store, hash-verified
98
}
99
100
func
bool2int(b bool) int {
101
if
b {
102
return
1
103
}
104
return
0
105
}
Callers
1
MakeProgressCircle
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected