MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / truthyStringFromSnapshot

Function truthyStringFromSnapshot

skills/persistence.go:385–390  ·  view source on GitHub ↗
(value any)

Source from the content-addressed store, hash-verified

383}
384
385func truthyStringFromSnapshot(value any) string {
386 if !snapshotTruthy(value) {
387 return ""
388 }
389 return fmt.Sprint(value)
390}
391
392func intFromSnapshot(value any) (int, bool) {
393 if !snapshotTruthy(value) {

Callers 1

ImportSnapshotMethod · 0.85

Calls 1

snapshotTruthyFunction · 0.85

Tested by

no test coverage detected