tarlatan
    Preparing search index...

    Function compareTarget

    • Passes when configured equals the recorded binding in every field; otherwise fails with TargetMismatch for the binding file at binding, listing each field that differs.

      Parameters

      • binding: string
      • recorded: {
            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 }
      • 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 Result<void, TargetMismatch>