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

Function DeltaPath

handoff/storage.go:37–43  ·  view source on GitHub ↗

DeltaPath returns the absolute location of the delta snapshot.

(root string)

Source from the content-addressed store, hash-verified

35
36// DeltaPath returns the absolute location of the delta snapshot.
37func DeltaPath(root string) string {
38 absRoot, err := filepath.Abs(root)
39 if err != nil {
40 return filepath.Join(root, ".codemap", deltaFilename)
41 }
42 return filepath.Join(absRoot, ".codemap", deltaFilename)
43}
44
45// MetricsPath returns the absolute location of the handoff metrics log.
46func MetricsPath(root string) string {

Callers 3

runHandoffSubcommandFunction · 0.92
WriteLatestFunction · 0.85
TestBuildWriteReadFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestBuildWriteReadFunction · 0.68