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