Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2023-06-01 14:14:44 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2023-06-02 15:05:41 +0300
commit83be32a7dc83976e7638d7bd6f25e0364847a13e (patch)
treea49f53f018426a317b23ffd4c484d83687b37528 /internal/helper/repo_test.go
parentf60b4ce67aae4bedfbec3a53e0a0d4770ea74fa2 (diff)
repository: Move GitRepo interface into storage package
The `repository.GitRepo` interface provides a set of functions that allow us to locate a repository in our storage. It lives in a separate package outside of the `internal/git` module in order to avoid a set of cyclic dependencies. The current location is kind of weird though, as this interface is inherently tied to our storage details instead of being a generic Git thing. Move the definition of the interface into `internal/gitaly/storage` so that it is defined close to where it is used. This should also be a relatively safe location as any package that depends on the interface should implicitly already depend on the storage package given that it will typically be passed down into any kind of storage locator. While at it, rename it to `storage.Repository`.
Diffstat (limited to 'internal/helper/repo_test.go')
0 files changed, 0 insertions, 0 deletions