private string NormalizePath(string path)
{
if (String.IsNullOrEmpty(path))
{
return path;
}
if (Path.IsPathRooted(path))
{
string root = PathUtility.EnsureTrailingSlash(FileSystem.Root);
return PathUtility.GetRelativePath(root, path);
}
return path;
}
}