Skip to content

Commit

Permalink
chore: archive consistent naming
Browse files Browse the repository at this point in the history
  • Loading branch information
ybirader committed Dec 10, 2023
1 parent 366a78c commit 9eb1349
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions archiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var bufferPool = sync.Pool{
}

type archiver struct {
dest *os.File
xArchive *os.File
concurrency int
w *zip.Writer
fileProcessPool pool.WorkerPool[pool.File]
Expand All @@ -46,7 +46,7 @@ type archiver struct {
// Close() should be called on the returned archiver when done
func NewArchiver(archive *os.File, options ...archiverOption) (*archiver, error) {
a := &archiver{
dest: archive,
xArchive: archive,
w: zip.NewWriter(archive),
concurrency: runtime.GOMAXPROCS(0),
}
Expand Down

0 comments on commit 9eb1349

Please sign in to comment.