Skip to content

Commit 1c4aedd

Browse files
legoktmisaacs
authored andcommitted
Fix typo in onWriteEntry documentation
1 parent d9ea73a commit 1c4aedd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,15 +348,15 @@ advanced use cases, such as re-using caches between runs.
348348
- `maxReadSize` The maximum buffer size for `fs.read()` operations.
349349
Defaults to 16 MB.
350350

351-
#### Using `onWriteMethod` to alter entries
351+
#### Using `onWriteEntry` to alter entries
352352

353-
The `onWriteMethod` function, if provided, will get a reference
353+
The `onWriteEntry` function, if provided, will get a reference
354354
to each `entry` object on its way into the archive.
355355

356356
If any fields on this entry are changed, then these changes will
357357
be reflected in the entry that is written to the archive.
358358

359-
The return value of the method is ignored. All that matters is
359+
The return value of the function is ignored. All that matters is
360360
the final state of the entry object. This can also be used to
361361
track the files added to an archive, for example.
362362

0 commit comments

Comments
 (0)