tarlatan
    Preparing search index...

    Function matchedRecord

    • Compares configured with the binding recorded in stateDir, when one is recorded, and records nothing; reads only. A command that acts on the target runs it before it reads a store directory for creation or creates one, so a changed configuration fails with TargetMismatch having touched nothing (owner finding F10, dogfood-2). Passes when no binding is recorded. Fails with TargetMismatch or TargetBindingUnreadable.

      Parameters

      • stateDir: string
      • configured: {
            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<void, TargetMismatch | TargetBindingUnreadable, never>