Skip to content

Commit cb4ea6e

Browse files
authored
Add description line for commondir
1 parent f4c6914 commit cb4ea6e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/repo.rs

+2
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,8 @@ impl Repository {
456456
}
457457
}
458458

459+
/// Returns the path of the shared common directory for this repository.
460+
///
459461
/// If the repository is bare, it is the root directory for the repository.
460462
/// If the repository is a worktree, it is the parent repo's gitdir.
461463
/// Otherwise, it is the gitdir.

0 commit comments

Comments
 (0)