mirror of
https://github.com/go-gitea/gitea.git
synced 2026-01-17 01:20:37 +00:00
15 lines
300 B
Go
15 lines
300 B
Go
// Copyright 2025 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package gitrepo
|
|
|
|
import (
|
|
"context"
|
|
|
|
"code.gitea.io/gitea/modules/git/catfile"
|
|
)
|
|
|
|
func NewBatch(ctx context.Context, repo Repository) (catfile.Batch, error) {
|
|
return catfile.NewBatch(ctx, repoPath(repo))
|
|
}
|