gitlab.com/evatix-go/core@v1.3.55/chmodhelper/GetRwxLengthError.go (about) 1 package chmodhelper 2 3 import "gitlab.com/evatix-go/core/errcore" 4 5 func GetRwxLengthError(rwx string) error { 6 if len(rwx) != SingleRwxLength { 7 return errcore.LengthShouldBeEqualToType. 8 Error( 9 "rwx length should be "+SingleRwxLengthString, 10 len(rwx)) 11 } 12 13 return nil 14 }