mirror of https://github.com/spf13/afero.git
remove dead code
This commit is contained in:
parent
bdc1cc7fcb
commit
4d97b1e7ac
8
util.go
8
util.go
|
@ -153,14 +153,6 @@ func UnicodeSanitize(s string) string {
|
|||
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) {
|
||||
return FileContainsBytes(a.Fs, filename, subslice)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue