aboutsummaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-09-29 23:56:37 +0900
committerOphestra <cat@gensokyo.uk>2026-09-30 16:04:48 +0900
commitb94e6faa9d20dab9b179ee40b5f749c7f13d3f9a (patch)
tree519f48fcbf21bd59e1b2384ae977132661f0a324 /pkg
parentd65adbd06033147fa7ffb5c1b919ab4f40e68b83 (diff)
cmd/mbf: proof-of-concept CI servicedevelop
This accepts CI work over a shared read-only cache directory. This replaces the nix CI service and prepares the removal of nix from the test infrastructure. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'pkg')
-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{}