mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-30 05:46:39 -04:00
Export global.RootLength
This commit is contained in:
@@ -13,5 +13,5 @@ func GetRealPath(vanityPath string) string {
|
||||
|
||||
// GetVanityPath returns a vanityPath given a realPath
|
||||
func GetVanityPath(realPath string) string {
|
||||
return strings.ReplaceAll(realPath[rootLength:], "\\", "/")
|
||||
return strings.ReplaceAll(realPath[RootLength:], "\\", "/")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user