0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-06-01 06:15:40 +02:00
gitea/modules/gitrepo/cat_file.go

15 lines
287 B
Go

// Copyright 2025 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package gitrepo
import (
"context"
"gitea.dev/modules/git"
)
func NewBatch(ctx context.Context, repo Repository) (git.CatFileBatchCloser, error) {
return git.NewBatch(ctx, repoPath(repo))
}