Interface CellNameResolver

  • All Known Implementing Classes:
    DefaultCellNameResolver

    public interface CellNameResolver
    CellNameResolver can be used for resolving cell aliases to their CanonicalCellName.

    For a multi-cell build, each cell may have a different set of names that are visible to that cell (defined in that cell's .buckconfig), but each cell has a single canonical name. In addition, the names are not necessarily consistent across cells, two cells can have different names for the same cell (e.g. the most well-known such inconsistency would be that the empty name maps to the current cell in all cells).

    The CellNameResolver is different for each cell and most things should convert to a CanonicalCellName as soon as possible and deal only with those from then on.