File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
354354to each ` entry ` object on its way into the archive.
355355
356356If any fields on this entry are changed, then these changes will
357357be 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
360360the final state of the entry object. This can also be used to
361361track the files added to an archive, for example.
362362
You can’t perform that action at this time.
0 commit comments