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

     1  package chmodhelper
     2  
     3  import "gitlab.com/evatix-go/core/chmodhelper/chmodins"
     4  
     5  func ParseBaseRwxInstructionsToExecutors(
     6  	baseRwxInstructions *chmodins.BaseRwxInstructions,
     7  ) (
     8  	*RwxInstructionExecutors, error,
     9  ) {
    10  	if baseRwxInstructions == nil || baseRwxInstructions.RwxInstructions == nil {
    11  		return NewRwxInstructionExecutors(0), rwxInstructionNilErr
    12  	}
    13  
    14  	return ParseRwxInstructionsToExecutors(
    15  		baseRwxInstructions.RwxInstructions)
    16  }