diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-07-22 15:16:20 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-07-22 15:16:20 +0300 |
commit | e34f3dcf14476c7f5e77adee029ce0888705f8c2 (patch) | |
tree | ed5ec72f4bf3dad52a21ed25ad430315e0f67fe8 /.golangci.yml | |
parent | 25996451d3861a201f0055bff193ab4f984cf84f (diff) |
storage: Move module into `internal/gitaly`
Except for a single use in Praefec's tests, the "storage" module is only
used by Gitaly. Despite that, it's still located at `internal/storage`
and thus indicates that it may be a generic component for reuse.
Move it into `internal/gitaly` to clarify that it is indeed an
implementation detail of Gitaly, only.
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.golangci.yml b/.golangci.yml index daa24daf2..2e5955fa7 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -545,7 +545,7 @@ issues: text: "exported var `ErrNotFound` should have comment or be unexported" - linters: - golint - path: "internal/storage/locator.go" + path: "internal/gitaly/storage/locator.go" text: "exported var `ErrRelativePathEscapesRoot` should have comment or be unexported" - linters: - golint @@ -657,7 +657,7 @@ issues: text: "Error return value of `stream.CloseSend` is not checked" - linters: - errcheck - path: "internal/storage/locator.go" + path: "internal/gitaly/storage/locator.go" text: "Error return value of `os.Stat` is not checked" - linters: - errcheck |