diff options
author | Lauris BH <lauris@nix.lv> | 2020-05-29 09:20:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-29 09:20:01 +0300 |
commit | bd2335671f0dce454a8cb669ed635a97be77f414 (patch) | |
tree | b1a8620d8e8a1de18427ea841782a9fe72e84360 /vendor/gopkg.in/toqueteos/substring.v1/lib.go | |
parent | e8955173a9be1acaa9a3755c37b6059422acda20 (diff) | |
download | gitea-bd2335671f0dce454a8cb669ed635a97be77f414.tar.gz gitea-bd2335671f0dce454a8cb669ed635a97be77f414.zip |
Exclude generated files from language statistics (#11653)
* Update go-enry to v2.5.2
Diffstat (limited to 'vendor/gopkg.in/toqueteos/substring.v1/lib.go')
-rw-r--r-- | vendor/gopkg.in/toqueteos/substring.v1/lib.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/vendor/gopkg.in/toqueteos/substring.v1/lib.go b/vendor/gopkg.in/toqueteos/substring.v1/lib.go deleted file mode 100644 index 9cd4a30261..0000000000 --- a/vendor/gopkg.in/toqueteos/substring.v1/lib.go +++ /dev/null @@ -1,10 +0,0 @@ -package substring - -// reverse is a helper fn for Suffixes -func reverse(b []byte) []byte { - n := len(b) - for i := 0; i < n/2; i++ { - b[i], b[n-1-i] = b[n-1-i], b[i] - } - return b -} |