D:\Users\Downloads\my-project
D:\Users\Downloads\my-project
D:\Users\Downloads\my-project
/app/D:\Users\Downloads\my-project
/app/D:\Users\Downloads\my-project
/app/D:\Users\Downloads\my-project
// On Windows: returns true
Path.IsPathRooted("D:\\Users\\Downloads\\my-project"); // On Linux: returns FALSE
Path.IsPathRooted("D:\\Users\\Downloads\\my-project");
// On Windows: returns true
Path.IsPathRooted("D:\\Users\\Downloads\\my-project"); // On Linux: returns FALSE
Path.IsPathRooted("D:\\Users\\Downloads\\my-project");
// On Windows: returns true
Path.IsPathRooted("D:\\Users\\Downloads\\my-project"); // On Linux: returns FALSE
Path.IsPathRooted("D:\\Users\\Downloads\\my-project");
Path.GetFullPath("D:\\Users\\Downloads\\my-project")
Path.GetFullPath("D:\\Users\\Downloads\\my-project")
Path.GetFullPath("D:\\Users\\Downloads\\my-project")
private static string NormalisePath(string path)
{ var trimmed = path.Trim(); var absolute = Path.IsPathRooted(trimmed) ? trimmed : Path.GetFullPath(trimmed); return absolute.TrimEnd( Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar);
}
private static string NormalisePath(string path)
{ var trimmed = path.Trim(); var absolute = Path.IsPathRooted(trimmed) ? trimmed : Path.GetFullPath(trimmed); return absolute.TrimEnd( Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar);
}
private static string NormalisePath(string path)
{ var trimmed = path.Trim(); var absolute = Path.IsPathRooted(trimmed) ? trimmed : Path.GetFullPath(trimmed); return absolute.TrimEnd( Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar);
}
volumes: - D:\Users\Downloads\my-project:/repos/my-project
volumes: - D:\Users\Downloads\my-project:/repos/my-project
volumes: - D:\Users\Downloads\my-project:/repos/my-project