tarlatan
    Preparing search index...

    Function isLinkedGitDirOf

    • Whether gitDir is, as written, a linked worktree's git directory directly under recorded: <recorded>/worktrees/<name>, <name> one segment, with no . or .. segment anywhere. Only then does the commondir text linkedCommonDirText lead from gitDir back to recorded, and only when neither worktrees nor <name> is a symbolic link, which the caller checks (review F5A).

      Parameters

      • recorded: string
      • gitDir: string

      Returns boolean