tarlatan
    Preparing search index...

    Function allPlainDirectories

    • Whether every one of paths, each absolute, is a directory itself, by lstat, which never follows a symbolic link (review F5A): a linked worktree's commondir text ../.. leads back to the recorded common directory only when its worktrees directory and the worktree's git directory are no links, since git resolves each link before the next ... A missing path is no directory. Fails with LooseRefsUnreadable when a path exists and cannot be read, so the caller can refuse rather than guess.

      Parameters

      • paths: readonly string[]

      Returns Effect<boolean, LooseRefsUnreadable>