Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tmck-code committed Oct 1, 2024
1 parent 0a5a41d commit 76a787f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bin/pokedex/pokedex.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,13 @@ func main() {
pokemonNames := pokedex.ReadNames(args.FromMetadataFname)
fmt.Println("- Read", len(pokemonNames), "pokemon names from", args.FromMetadataFname)

fmt.Println("- Writing entries to file")
fmt.Println("- Gzipping cowfiles")
pbar := bin.NewProgressBar(len(cowfileFpaths))
for i, fpath := range cowfileFpaths {
data, err := os.ReadFile(fpath)
pokedex.Check(err)

// Write the gzipped cowfile to the destination directory
pokedex.WriteBytesToFile(data, pokedex.EntryFpath(paths.EntryDirPath, i), true)
pbar.Add(1)
}
Expand Down

0 comments on commit 76a787f

Please sign in to comment.