aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/fs.go
diff options
context:
space:
mode:
Diffstat (limited to 'hst/fs.go')
-rw-r--r--hst/fs.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/hst/fs.go b/hst/fs.go
index b33d0492..a2a75a78 100644
--- a/hst/fs.go
+++ b/hst/fs.go
@@ -18,11 +18,19 @@ type FilesystemConfig interface {
// Host returns a slice of all host paths used by this operation.
Host() []*container.Absolute
// Apply appends the [container.Op] implementing this operation.
- Apply(ops *container.Ops)
+ Apply(z *ApplyState)
fmt.Stringer
}
+// ApplyState holds the address of [container.Ops] and any relevant application state.
+type ApplyState struct {
+ // AutoEtcPrefix is the prefix for [container.AutoEtcOp].
+ AutoEtcPrefix string
+
+ *container.Ops
+}
+
var (
ErrFSNull = errors.New("unexpected null in mount point")
)