gitlab.com/evatix-go/core@v1.3.55/chmodhelper/ParseRwxInstructionToVarWrapper.go (about)

     1  package chmodhelper
     2  
     3  import "gitlab.com/evatix-go/core/chmodhelper/chmodins"
     4  
     5  func ParseRwxInstructionToVarWrapper(
     6  	rwxInstruction *chmodins.RwxInstruction,
     7  ) (
     8  	*RwxVariableWrapper, error,
     9  ) {
    10  	if rwxInstruction == nil {
    11  		return nil, rwxInstructionNilErr
    12  	}
    13  
    14  	return ParseRwxOwnerGroupOtherToRwxVariableWrapper(
    15  		&rwxInstruction.RwxOwnerGroupOther)
    16  }