gitlab.com/evatix-go/core@v1.3.55/chmodhelper/chmodins/RwxInstruction.go (about) 1 package chmodins 2 3 type RwxInstruction struct { 4 RwxOwnerGroupOther 5 Condition 6 } 7 8 func (receiver *RwxInstruction) Clone() *RwxInstruction { 9 if receiver == nil { 10 return nil 11 } 12 13 return &RwxInstruction{ 14 RwxOwnerGroupOther: *receiver.RwxOwnerGroupOther.Clone(), 15 Condition: Condition{ 16 IsSkipOnInvalid: receiver.IsSkipOnInvalid, 17 IsContinueOnError: receiver.IsContinueOnError, 18 IsRecursive: receiver.IsRecursive, 19 }, 20 } 21 }