remove dead code

This commit is contained in:
Lee Spottiswood 2023-05-03 08:51:54 +01:00
parent bdc1cc7fcb
commit 4d97b1e7ac
1 changed files with 0 additions and 8 deletions

View File

@ -153,14 +153,6 @@ func UnicodeSanitize(s string) string {
return string(target) return string(target)
} }
// // Transform characters with accents into plain forms.
// func NeuterAccents(s string) string {
// t := transform.Chain(norm.NFD, runes.Remove(runes.In(unicode.Mn)), norm.NFC)
// result, _, _ := transform.String(t, string(s))
// return result
// }
func (a Afero) FileContainsBytes(filename string, subslice []byte) (bool, error) { func (a Afero) FileContainsBytes(filename string, subslice []byte) (bool, error) {
return FileContainsBytes(a.Fs, filename, subslice) return FileContainsBytes(a.Fs, filename, subslice)
} }