1
0
mirror of https://github.com/Jguer/yay synced 2024-06-29 06:56:29 +00:00

chore: fix function name in comment (#2430)

Signed-off-by: eveneast <qcqs@foxmail.com>
This commit is contained in:
eveneast 2024-05-02 18:54:16 +08:00 committed by GitHub
parent ff3ad18fa8
commit 61dd708a4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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")