hst/fs: rename method Target to Path
All checks were successful
Test / Create distribution (push) Successful in 32s
Test / Sandbox (push) Successful in 2m7s
Test / Hakurei (push) Successful in 3m7s
Test / Hpkg (push) Successful in 3m50s
Test / Sandbox (race detector) (push) Successful in 4m17s
Test / Hakurei (race detector) (push) Successful in 5m3s
Test / Flake checks (push) Successful in 1m27s
All checks were successful
Test / Create distribution (push) Successful in 32s
Test / Sandbox (push) Successful in 2m7s
Test / Hakurei (push) Successful in 3m7s
Test / Hpkg (push) Successful in 3m50s
Test / Sandbox (race detector) (push) Successful in 4m17s
Test / Hakurei (race detector) (push) Successful in 5m3s
Test / Flake checks (push) Successful in 1m27s
This allows adapter structs to use the same field names as Op structs. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user