Browse Source

chore: fix function name in comment (#2430)

Signed-off-by: eveneast <qcqs@foxmail.com>
eveneast 1 year ago
parent
commit
61dd708a4a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/completion/completion.go

+ 1 - 1
pkg/completion/completion.go

@@ -117,7 +117,7 @@ func createAURList(ctx context.Context, client httpRequestDoer, aurURL string, o
 	return nil
 }
 
-// CreatePackageList appends Repo packages to completion cache.
+// createRepoList appends Repo packages to completion cache.
 func createRepoList(dbExecutor PkgSynchronizer, out io.Writer) error {
 	for _, pkg := range dbExecutor.SyncPackages() {
 		_, err := io.WriteString(out, pkg.Name()+"\t"+pkg.DB().Name()+"\n")