tarlatan
    Preparing search index...

    Function checkedTargetLayout

    • The layout of target, the target in force, checked with the state directory stateDir: a reachable command may run on a recorded target that differs from the configured one. Fails with LayoutRefused.

      Parameters

      • stateDir: string
      • target: {
            attributeAllowance: {
                rootLines: readonly [] | readonly ["*.wxw linguist-language=Rust"];
            };
            ledger: string;
            ownerCheckout: string;
            projectId: string & Brand<"ProjectId">;
            supervisor: { name: string; path: string };
        }
        • ReadonlyattributeAllowance: { rootLines: readonly [] | readonly ["*.wxw linguist-language=Rust"] }
        • Readonlyledger: string

          The ledger file, <ledgerDir>/ledger.sqlite, canonical.

        • ReadonlyownerCheckout: string
        • ReadonlyprojectId: string & Brand<"ProjectId">
        • Readonlysupervisor: { name: string; path: string }

      Returns Effect<
          {
              ledgerDir: string;
              ownerCheckout: string;
              stateDir: string;
              supervisor: string;
          },
          LayoutRefused,
          never,
      >