gatelineAPI reference
  • Check that the repository git reads carries the framework (§7.2). It passes when a lock exists at <prefix>/framework-lock.json on the default branch (prefix is the entry's gateline_prefix, .gateline by default), or, with no lock there, when roles/, contracts/ and registry/ are all directories at the default branch's root. Anything else is refused.

    label names the repository in the refusal, usually its path.

    Parameters

    • git: Git
    • opts: { label?: string; prefix?: string } = {}

    Returns Promise<FrameworkCheck>