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

     1  package chmodhelper
     2  
     3  // ExpandCharRwx Expands to 'r', 'w', 'x'
     4  func ExpandCharRwx(rwx string) (r, w, x byte) {
     5  	r = rwx[0]
     6  	w = rwx[1]
     7  	x = rwx[2]
     8  
     9  	return r, w, x
    10  }