mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 10:25:03 +01:00
13 lines
250 B
Go
13 lines
250 B
Go
|
// +build darwin
|
||
|
|
||
|
package local
|
||
|
|
||
|
import (
|
||
|
"golang.org/x/text/unicode/norm"
|
||
|
)
|
||
|
|
||
|
// normString normalises the remote name as some OS X denormalises UTF-8 when storing it to disk
|
||
|
func normString(remote string) string {
|
||
|
return norm.NFC.String(remote)
|
||
|
}
|