DeltaPath returns the absolute location of the delta snapshot.
(root string)
| 35 | |
| 36 | // DeltaPath returns the absolute location of the delta snapshot. |
| 37 | func 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. |
| 46 | func MetricsPath(root string) string { |
no outgoing calls