Update go/store/blobstore/git_blobstore.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Dustin Brown
2026-02-04 14:03:01 -08:00
committed by GitHub
parent 18dea9bf67
commit 404419c364
+3 -2
View File
@@ -49,8 +49,9 @@ type GitBlobstore struct {
var _ Blobstore = (*GitBlobstore)(nil)
// NewGitBlobstore creates a new read-only GitBlobstore rooted at |gitDir| and |ref|.
// |gitDir| should point at a bare repo directory or a .git directory.
// NewGitBlobstore creates a new GitBlobstore rooted at |gitDir| and |ref|.
// |gitDir| should point at a bare repo directory or a .git directory. Put is implemented,
// while CheckAndPut and Concatenate are still unimplemented (see type-level docs).
func NewGitBlobstore(gitDir, ref string) (*GitBlobstore, error) {
return NewGitBlobstoreWithIdentity(gitDir, ref, nil)
}