aboutsummaryrefslogtreecommitdiffhomepage
path: root/pkg/pkg.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/pkg.go')
-rw-r--r--pkg/pkg.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/pkg.go b/pkg/pkg.go
index e3d32028..c2fe42fe 100644
--- a/pkg/pkg.go
+++ b/pkg/pkg.go
@@ -2933,6 +2933,9 @@ func Open(
return &c, nil
}
+// Path returns the pathname of the directory holding [Cache] state.
+func (c *Cache) Path() *check.Absolute { return c.base }
+
// Collected is returned by [Collect.Cure] to indicate a successful collection.
type Collected struct{}