public final class PathFragments extends Object
Modifier and Type | Method and Description |
---|---|
static Path |
fragmentToPath(FileSystem fileSystem,
com.google.devtools.build.lib.vfs.PathFragment fragment)
Convert a skylark PathFragment to a Path.
|
static Path |
fragmentToPath(com.google.devtools.build.lib.vfs.PathFragment fragment)
Convert a skylark PathFragment to a Path using the default filesystem.
|
static com.google.devtools.build.lib.vfs.PathFragment |
pathToFragment(Path path)
Convert a Skylark PathFragment to a Java Path.
|
public static com.google.devtools.build.lib.vfs.PathFragment pathToFragment(Path path)
public static Path fragmentToPath(com.google.devtools.build.lib.vfs.PathFragment fragment)
public static Path fragmentToPath(FileSystem fileSystem, com.google.devtools.build.lib.vfs.PathFragment fragment)