feat(chmod): add more options and limit file extension
This commit is contained in:
@@ -62,3 +62,7 @@ func hasPrefix(s, prefix string) bool {
|
||||
}
|
||||
return true
|
||||
}
|
||||
// CI = case insensitive
|
||||
func HasPrefixCI(s, prefix string) bool {
|
||||
return hasPrefix(s, prefix)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user