diff options
Diffstat (limited to 'hst/fs.go')
| -rw-r--r-- | hst/fs.go | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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") ) |
