container/init: use absolute compare method
All checks were successful
Test / Create distribution (push) Successful in 34s
Test / Sandbox (push) Successful in 2m9s
Test / Hakurei (push) Successful in 3m3s
Test / Hpkg (push) Successful in 4m4s
Test / Sandbox (race detector) (push) Successful in 4m25s
Test / Hakurei (race detector) (push) Successful in 4m59s
Test / Flake checks (push) Successful in 1m19s
All checks were successful
Test / Create distribution (push) Successful in 34s
Test / Sandbox (push) Successful in 2m9s
Test / Hakurei (push) Successful in 3m3s
Test / Hpkg (push) Successful in 4m4s
Test / Sandbox (race detector) (push) Successful in 4m25s
Test / Hakurei (race detector) (push) Successful in 4m59s
Test / Flake checks (push) Successful in 1m19s
More checks are also added. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -32,8 +32,7 @@ func (m *MkdirOp) apply(*setupState) error {
|
||||
func (m *MkdirOp) Is(op Op) bool {
|
||||
vm, ok := op.(*MkdirOp)
|
||||
return ok && ((m == nil && vm == nil) || (m != nil && vm != nil &&
|
||||
m.Path != nil && vm.Path != nil &&
|
||||
m.Path.String() == vm.Path.String() &&
|
||||
m.Path != nil && vm.Path != nil && m.Path.Is(vm.Path) &&
|
||||
m.Perm == vm.Perm))
|
||||
}
|
||||
func (*MkdirOp) prefix() string { return "creating" }
|
||||
|
||||
Reference in New Issue
Block a user