MCPcopy Create free account
hub / github.com/MMadmer/EpicAssetsNotifyBot / boolToInt

Function boolToInt

internal/store/sqlite/store.go:542–547  ·  view source on GitHub ↗
(v bool)

Source from the content-addressed store, hash-verified

540}
541
542func boolToInt(v bool) int {
543 if v {
544 return 1
545 }
546 return 0
547}
548
549func normalizeDatabaseURL(raw string) (string, error) {
550 value := strings.TrimSpace(raw)

Callers 3

insertGuildConfigsFunction · 0.85
insertUserProfilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected