MCPcopy Create free account
hub / github.com/JordanCoin/codemap / getRecentHandoff

Function getRecentHandoff

cmd/hooks.go:573–582  ·  view source on GitHub ↗
(root string)

Source from the content-addressed store, hash-verified

571}
572
573func getRecentHandoff(root string) *handoff.Artifact {
574 artifact, err := handoff.ReadLatest(root)
575 if err != nil || artifact == nil {
576 return nil
577 }
578 if time.Since(artifact.GeneratedAt) > 24*time.Hour {
579 return nil
580 }
581 return artifact
582}
583
584func handoffHasChangedFiles(artifact *handoff.Artifact) bool {
585 if artifact == nil {

Callers 2

hookSessionStartFunction · 0.85

Calls 1

ReadLatestFunction · 0.92

Tested by 1