aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2021-11-27 15:14:10 +0100
committerKevin Daudt <kdaudt@alpinelinux.org>2021-11-27 15:33:12 +0100
commit3416577acad5786bfe3181700276509bf14fe0cf (patch)
tree5feb0346b500dd5a51397a13aef5942d8924e42f
parent1ef65438529927cde2f83afb09d484ce196818fc (diff)
downloadgo-3416577acad5786bfe3181700276509bf14fe0cf.tar.gz
go-3416577acad5786bfe3181700276509bf14fe0cf.tar.bz2
go-3416577acad5786bfe3181700276509bf14fe0cf.tar.xz
repository: rename from apkindex package
The term `repository` covers the entire concept, instead of just one single element, so rename the package to `repository`.
-rw-r--r--pkg/repository/apkindex.go (renamed from pkg/apkindex/apkindex.go)2
-rw-r--r--pkg/repository/apkindex_test.go (renamed from pkg/apkindex/apkindex_test.go)2
-rw-r--r--pkg/repository/testdata/APKINDEX.tar.gz (renamed from pkg/apkindex/testdata/APKINDEX.tar.gz)bin806 -> 806 bytes
3 files changed, 2 insertions, 2 deletions
diff --git a/pkg/apkindex/apkindex.go b/pkg/repository/apkindex.go
index 51eb8d9..1809bd4 100644
--- a/pkg/apkindex/apkindex.go
+++ b/pkg/repository/apkindex.go
@@ -1,4 +1,4 @@
-package apkindex
+package repository
import (
"archive/tar"
diff --git a/pkg/apkindex/apkindex_test.go b/pkg/repository/apkindex_test.go
index 154f068..72808b7 100644
--- a/pkg/apkindex/apkindex_test.go
+++ b/pkg/repository/apkindex_test.go
@@ -1,4 +1,4 @@
-package apkindex
+package repository
import (
"io"
diff --git a/pkg/apkindex/testdata/APKINDEX.tar.gz b/pkg/repository/testdata/APKINDEX.tar.gz
index 333cdfb..333cdfb 100644
--- a/pkg/apkindex/testdata/APKINDEX.tar.gz
+++ b/pkg/repository/testdata/APKINDEX.tar.gz
Binary files differ