Skip to content

Commit

Permalink
Fix typos using codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
anatol committed Nov 17, 2023
1 parent 09acf80 commit f546367
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion downloader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func TestRequestedFile(t *testing.T) {
input, urlPath, key string
}{
{"/repo/noPath/foobar-3.3.6-7-x86_64.pkg.tar.zst", "/foobar-3.3.6-7-x86_64.pkg.tar.zst", "noPath/foobar-3.3.6-7-x86_64.pkg.tar.zst"},
{"/repo/extened/path/bar-222.pkg.tar.zst", "/path/bar-222.pkg.tar.zst", "extened/path/bar-222.pkg.tar.zst"},
{"/repo/extended/path/bar-222.pkg.tar.zst", "/path/bar-222.pkg.tar.zst", "extended/path/bar-222.pkg.tar.zst"},
{"/repo/upstream/extra/os/x86_64/linux-5.19.pkg.tar.zst", "/extra/os/x86_64/linux-5.19.pkg.tar.zst", "upstream/extra/os/x86_64/linux-5.19.pkg.tar.zst"},
}

Expand Down
2 changes: 1 addition & 1 deletion prefetch_db.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (pkg Package) getAllPaths() []string {
return pkgPaths
}

// MirrorDB is a struct which stores all the relevant informations about a requested db file from a client.
// MirrorDB is a struct which stores all the relevant information about a requested db file from a client.
// Pacoloco uses this information to replicate the same request when it has to prefetch updated DB files from upstream mirrors
// I assume the other files to download are on the same path of the DB
type MirrorDB struct {
Expand Down

0 comments on commit f546367

Please sign in to comment.