tarlatan
    Preparing search index...

    Function precheckRestoreWith

    • The pre-checks over the process call start, judging attribute sources under allowance, for git's HOME home (see the module comment). Succeeds with none when the restore may run, or with the RestoreRefused of the first check that refused; never fails.

      Parameters

      • start: StartGit
      • allowance: { rootLines: readonly string[] }

      Returns (
          home: string,
      ) => (
          site: RestoreSite,
          target: RestoreTarget,
      ) => Effect<Option<RestoreRefused>>