13 lines
216 B
Go
13 lines
216 B
Go
package Sync
|
|
|
|
import (
|
|
"path/filepath"
|
|
"strings"
|
|
)
|
|
|
|
func normalisePath(base, path string) string {
|
|
result := strings.Replace(path, base, ``, 1)
|
|
result = filepath.ToSlash(result)
|
|
return strings.ToLower(result)
|
|
}
|