public class FilesystemBackedBuildFileTree extends Object implements BuildFileTree
foo/BUCK foo/bar/baz/BUCK foo/bar/qux/BUCK
foo/BUCK is the parent of foo/bar/baz/BUCK and foo/bar/qux/BUCK.
Constructor and Description |
---|
FilesystemBackedBuildFileTree(ProjectFilesystem projectFilesystem,
String buildFileName) |
Modifier and Type | Method and Description |
---|---|
Optional<RelPath> |
getBasePathOfAncestorTarget(RelPath filePath)
Returns the base path for a given path.
|
public FilesystemBackedBuildFileTree(ProjectFilesystem projectFilesystem, String buildFileName)
public Optional<RelPath> getBasePathOfAncestorTarget(RelPath filePath)
getBasePathOfAncestorTarget
in interface BuildFileTree
filePath
-