@salesforce/core
Preparing search index...
util/zipWriter
ZipWriter
Class ZipWriter
Hierarchy
Writable
ZipWriter
Implements
StructuredWriter
Index
Constructors
constructor
Accessors
buffer
Methods
add
To
Store
finalize
get
Destination
Path
Constructors
constructor
new
ZipWriter
(
rootDestination
?:
string
)
:
ZipWriter
Parameters
Optional
rootDestination
:
string
Returns
ZipWriter
Accessors
buffer
get
buffer
()
:
Buffer
Returns
Buffer
Methods
add
To
Store
addToStore
(
contents
:
string
|
Readable
|
Buffer
<
ArrayBufferLike
>
,
path
:
string
,
)
:
Promise
<
void
>
Parameters
contents
:
string
|
Readable
|
Buffer
<
ArrayBufferLike
>
path
:
string
Returns
Promise
<
void
>
finalize
finalize
()
:
Promise
<
void
>
Returns
Promise
<
void
>
get
Destination
Path
getDestinationPath
()
:
string
|
undefined
Returns
string
|
undefined
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
buffer
Methods
add
To
Store
finalize
get
Destination
Path
@salesforce/core
Loading...