gatelineAPI reference
  • The core-layer root recorded by a lock, relative to the repository root: the empty string for the root layout, the prefix for the prefixed one. Pure, so the git-revision reader in @gateline/core can share it.

    Parameters

    • raw: null | string
    • prefix: string

    Returns string