tarlatan
    Preparing search index...

    Function claudeEditingSettings

    • The settings file's text for the session's recorded worktree identity and the configured checkCommands, with a final newline; the same inputs always give the same bytes, and an empty list gives the template without check commands. Fails with ProfilePathUnsafe naming the first of the worktree path, its git directory and the common git directory that the template will not bind; otherwise with CheckCommandRefused naming the first check command the configuration decoder would refuse. Nothing is rendered before both checks pass.

      Parameters

      • identity: { commonDir: string; gitDir: string; path: string }
      • checkCommands: readonly string[]

      Returns Result<string, ProfilePathUnsafe | CheckCommandRefused>