MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / boolToInt

Function boolToInt

internal/metadata/store.go:412–417  ·  view source on GitHub ↗
(b bool)

Source from the content-addressed store, hash-verified

410}
411
412func boolToInt(b bool) int {
413 if b {
414 return 1
415 }
416 return 0
417}
418
419// runMigrations applies idempotent data migrations after the schema exists.
420func (s *Store) runMigrations(ctx context.Context, db *sql.DB) error {

Callers 2

UpsertItemMethod · 0.85
UpsertItemsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected