MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / runtimeSetLockToken

Function runtimeSetLockToken

pkg/go/cmd/codebase-memory-mcp/main.go:1568–1574  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1566}
1567
1568func runtimeSetLockToken() (string, error) {
1569 raw := make([]byte, runtimeSetLockTokenSize)
1570 if _, err := rand.Read(raw); err != nil {
1571 return "", err
1572 }
1573 return hex.EncodeToString(raw), nil
1574}
1575
1576func runtimeSetLockOwner(lockPath string) (runtimeSetLockOwnerRecord, bool) {
1577 var empty runtimeSetLockOwnerRecord

Calls 2

makeFunction · 0.85
ReadMethod · 0.80

Tested by

no test coverage detected