mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
[tar] add maxReadSize, maxMetaEntrySize to tar.extract per documentation (#36776)
* add maxReadSize, maxMetaEntrySize to extract per documentation * lint
This commit is contained in:
Vendored
+13
@@ -489,6 +489,19 @@ export interface ExtractOptions {
|
||||
* filter.
|
||||
*/
|
||||
onentry?(entry: ReadEntry): void;
|
||||
|
||||
// The following options are mostly internal, but can be modified in some
|
||||
// advanced use cases, such as re-using caches between runs.
|
||||
|
||||
/**
|
||||
* The maximum buffer size for fs.read() operations (in bytes). Defaults to 16 MB.
|
||||
*/
|
||||
maxReadSize?: number;
|
||||
|
||||
/**
|
||||
* The maximum size of meta entries that is supported. Defaults to 1 MB.
|
||||
*/
|
||||
maxMetaEntrySize?: number;
|
||||
}
|
||||
|
||||
export interface ListOptions {
|
||||
|
||||
Reference in New Issue
Block a user