mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-14 09:14:10 +00:00
12 lines
205 B
Go
12 lines
205 B
Go
package files
|
|
|
|
import "code.google.com/p/go.text/unicode/norm"
|
|
|
|
func normalizedFilename(s string) string {
|
|
return norm.NFC.String(s)
|
|
}
|
|
|
|
func nativeFilename(s string) string {
|
|
return norm.NFD.String(s)
|
|
}
|