tarlatan
    Preparing search index...

    Function configuredTarget

    • Reads the configuration at configPath, settles the ledger's directory (environment supplies HOME for the default) and checks the configured layout. Returns the configuration and the configured target, canonical. Reads only. Fails with ConfigUndecodable or LayoutRefused, among others.

      Parameters

      • configPath: string
      • environment: Readonly<Record<string, string | undefined>>

      Returns Effect<
          {
              config: TarlatanConfig;
              configured: {
                  attributeAllowance: {
                      rootLines: readonly []
                      | readonly ["*.wxw linguist-language=Rust"];
                  };
                  ledger: string;
                  ownerCheckout: string;
                  projectId: string & Brand<"ProjectId">;
                  supervisor: { name: string; path: string };
              };
          },
          LayoutRefused
          | StateFileFailed
          | FileNotUtf8
          | ConfigUndecodable,
          never,
      >