diff options
| author | 2026-03-28 14:25:31 +0000 | |
|---|---|---|
| committer | 2026-03-28 14:25:31 +0000 | |
| commit | 3dc0eefa251989eb45bf647f83ec19369660b76b (patch) | |
| tree | 001457ab5e50262d98126c80f0dfc51429a949eb /repository/repository.go | |
| parent | furgit: Document contract labels (diff) | |
| signature | No signature | |
repository: Use labels v0.1.120
Diffstat (limited to 'repository/repository.go')
| -rw-r--r-- | repository/repository.go | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/repository/repository.go b/repository/repository.go index 8c0322b7..8c7c091f 100644 --- a/repository/repository.go +++ b/repository/repository.go @@ -13,15 +13,16 @@ import ( ) // Repository represents a typical on-disk Git repository by composing -// their stores together for access. +// its stores together for access. // // Open expects a root for the Git directory itself: // a bare repository root or a non-bare ".git" directory. // -// Accessors such as Objects, Refs, Resolver, and LooseStoreForWriting return -// views backed by resources owned by Repository. Those values borrow the -// repository's stores and filesystem roots, must not be used after repositor yClose, -// and must not be closed manually. +// Accessors such as [Repository.Objects], [Repository.Refs], +// [Repository.Fetcher], and [Repository.LooseStoreForWriting] return +// repository-backed views. +// +// Labels: MT-Safe, Close-Caller. type Repository struct { config *config.Config algo objectid.Algorithm |
