Package com.facebook.buck.core.cell
Interface NewCellPathResolver
-
- All Known Implementing Classes:
DefaultNewCellPathResolver
public interface NewCellPathResolver
TheNewCellPathResolver
maps betweenCanonicalCellName
s and the absolutePath
that they are rooted at.The behavior of
NewCellPathResolver
is the same for all cells in a build (unlikeCellPathResolver
).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CanonicalCellName
getCanonicalCellName(Path path)
Path
getCellPath(CanonicalCellName cellName)
Note: unlikeCellPathResolver.getCellPath(Optional)
this function always returns a value.
-
-
-
Method Detail
-
getCellPath
Path getCellPath(CanonicalCellName cellName)
Note: unlikeCellPathResolver.getCellPath(Optional)
this function always returns a value. Existence/visibility of the cell is enforced when theCanonicalCellName
is resolved.- Parameters:
cellName
- Canonical name of the cell.- Returns:
- Absolute path to the physical root of the cell.
-
getCanonicalCellName
CanonicalCellName getCanonicalCellName(Path path)
- Parameters:
path
- Absolute path to the physical root of the cell.- Returns:
- Canonical name of the cell.
-
-