Function: normalizeRoot()
normalizeRoot(
root):string
Normalize a filesystem root for storage on BaseFileSystem.root.
Converts to POSIX, trims, and strips trailing slashes while preserving
/, Windows drive roots (C:/), and URL-like scheme roots.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string