aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repo.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/repo.go b/repo.go
index a33221fa..05473252 100644
--- a/repo.go
+++ b/repo.go
@@ -13,6 +13,9 @@ import (
)
// Repository represents a Git repository.
+//
+// It is safe to access the same Repository from multiple goroutines
+// without additional synchronization.
type Repository struct {
rootPath string
hashSize int