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

     1  package chmodins
     2  
     3  // ExpandRwxFullStringToOwnerGroupOtherByFixingFirst can be
     4  //
     5  //  - "-rwx" will be "-rwx******"
     6  //  - "-rwxr-x" will be "-rwxr-x***"
     7  //  - "-rwxr-x" will be "-rwxr-x***"
     8  func ExpandRwxFullStringToOwnerGroupOtherByFixingFirst(
     9  	rwxPartialRestWildcard string,
    10  ) (*RwxOwnerGroupOther, error) {
    11  	fullRwxWithWildcard := FixRwxFullStringWithWildcards(rwxPartialRestWildcard)
    12  
    13  	return ExpandRwxFullStringToOwnerGroupOther(
    14  		fullRwxWithWildcard)
    15  }