From 8dd3e1ee5d10c150f58e3b49771d3ca847f6d4cf Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 16 Aug 2025 02:06:41 +0900 Subject: hst/fs: rename method Target to Path This allows adapter structs to use the same field names as Op structs. Signed-off-by: Ophestra --- hst/fs.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hst/fs.go') diff --git a/hst/fs.go b/hst/fs.go index 0dc95a99..b33d0492 100644 --- a/hst/fs.go +++ b/hst/fs.go @@ -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 -- cgit v1.3.1