feat(chmod): add more options and limit file extension

This commit is contained in:
verse91
2026-04-27 15:03:47 +07:00
parent d2909d93aa
commit 667cf9feae
2 changed files with 79 additions and 2 deletions
+4
View File
@@ -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)
}