The root of the path p.
1 assertEqual(WindowsPath("").root, ""); 2 assertEqual(PosixPath("").root, ""); 3 assertEqual(WindowsPath("C:/Hello/World").root, "C:"); 4 assertEqual(WindowsPath("/Hello/World").root, ""); 5 assertEqual(PosixPath("/hello/world").root, "/"); 6 assertEqual(PosixPath("C:/hello/world").root, "");