diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-16 02:06:41 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-16 02:06:41 +0900 |
| commit | 8dd3e1ee5d10c150f58e3b49771d3ca847f6d4cf (patch) | |
| tree | 08c0c6812d34da419cd06323073989fb7b8d0c21 /hst/fs.go | |
| parent | 4ffeec3004607b76f73e504da220a1490c598348 (diff) | |
hst/fs: rename method Target to Path
This allows adapter structs to use the same field names as Op structs.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst/fs.go')
| -rw-r--r-- | hst/fs.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -13,11 +13,11 @@ import ( type FilesystemConfig interface { // Valid returns whether the configuration is valid. Valid() bool - // Target returns the pathname of the mount point in the container. - Target() *container.Absolute - // Host returns a slice of all host paths used by this mount point. + // Path returns the target path in the container. + Path() *container.Absolute + // Host returns a slice of all host paths used by this operation. Host() []*container.Absolute - // Apply appends the [container.Op] implementing this mount point. + // Apply appends the [container.Op] implementing this operation. Apply(ops *container.Ops) fmt.Stringer |
