tarlatan
    Preparing search index...

    Function readCommonDirFile

    • The text of the commondir file in the worktree's git directory gitDir, or none when it is absent, as in a repository's own git directory (review F4A). Git 2.50.1 finds the files backend's refs through this file even when GIT_COMMON_DIR is set. Fails with LooseRefsUnreadable when the file exists and cannot be read.

      Parameters

      • gitDir: string

      Returns Effect<Option<string>, LooseRefsUnreadable>