Search
Preparing search index...
The search index is not available
Yarn API
Home
Configuration
Features
CLI
Advanced
GitHub
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
.pnp
ZipFS
Globals
{"Generic Packages":{"@yarnpkg/core":"yarnpkg_core","@yarnpkg/fslib":"yarnpkg_fslib","@yarnpkg/libzip":"yarnpkg_libzip","@yarnpkg/nm":"yarnpkg_nm","@yarnpkg/parsers":"yarnpkg_parsers","@yarnpkg/pnp":"yarnpkg_pnp","@yarnpkg/pnpify":"yarnpkg_pnpify","@yarnpkg/sdks":"yarnpkg_sdks","@yarnpkg/shell":"yarnpkg_shell"},"Yarn Packages":{"@yarnpkg/builder":"yarnpkg_builder","@yarnpkg/cli":"yarnpkg_cli"},"Default Plugins":{"@yarnpkg/plugin-compat":"plugin_compat","@yarnpkg/plugin-dlx":"plugin_dlx","@yarnpkg/plugin-essentials":"plugin_essentials","@yarnpkg/plugin-file":"plugin_file","@yarnpkg/plugin-git":"plugin_git","@yarnpkg/plugin-github":"plugin_github","@yarnpkg/plugin-http":"plugin_http","@yarnpkg/plugin-init":"plugin_init","@yarnpkg/plugin-link":"plugin_link","@yarnpkg/plugin-nm":"plugin_nm","@yarnpkg/plugin-npm":"plugin_npm","@yarnpkg/plugin-npm-cli":"plugin_npm_cli","@yarnpkg/plugin-pack":"plugin_pack","@yarnpkg/plugin-patch":"plugin_patch","@yarnpkg/plugin-pnp":"plugin_pnp"},"Contrib Plugins":{"@yarnpkg/plugin-constraints":"plugin_constraints","@yarnpkg/plugin-exec":"plugin_exec","@yarnpkg/plugin-interactive-tools":"plugin_interactive_tools","@yarnpkg/plugin-stage":"plugin_stage","@yarnpkg/plugin-typescript":"plugin_typescript","@yarnpkg/plugin-version":"plugin_version","@yarnpkg/plugin-workspace-tools":"plugin_workspace_tools"}}
Class ZipFS
Hierarchy
BasePortableFakeFS
ZipFS
Constructors
constructor
Methods
accessPromise
accessSync
allocateBuffer
allocateSource
allocateUnattachedSource
appendFilePromise
appendFileSync
changeFileBufferPromise
changeFileBufferSync
changeFilePromise
changeFileSync
changeFileTextPromise
changeFileTextSync
checksumFilePromise
chmodPromise
chmodSync
chownPromise
chownSync
closePromise
closeSync
copyFilePromise
copyFileSync
copyPromise
copySync
createReadStream
createWriteStream
deleteEntry
discardAndClose
existsPromise
existsSync
fchmodPromise
fchmodSync
fchownPromise
fchownSync
fdToPath
fstatPromise
fstatSync
ftruncatePromise
ftruncateSync
genTraversePromise
getAllFiles
getBufferAndClose
getExtractHint
getFileSource
getRealPath
getUnixMode
hasOpenFileHandles
hydrateDirectory
isSymbolicLink
linkPromise
linkSync
lockPromise
lstatPromise
lstatSync
lutimesPromise
lutimesSync
makeLibzipError
mkdirPromise
mkdirSync
mkdirpPromise
mkdirpSync
movePromise
moveSync
openPromise
openSync
opendirPromise
opendirSync
prepareClose
prepareCopyFile
prepareReadlink
prepareWriteFile
preserveTimePromise
preserveTimeSync
readFileBuffer
readFilePromise
readFileSync
readJsonPromise
readJsonSync
readPromise
readSync
readdirPromise
readdirSync
readlinkPromise
readlinkSync
realpathPromise
realpathSync
registerEntry
registerListing
removePromise
removeSync
renamePromise
renameSync
resolve
resolveFilename
rmdirPromise
rmdirSync
saveAndClose
setFileSource
statImpl
statPromise
statSync
symlinkPromise
symlinkSync
truncatePromise
truncateSync
unlinkPromise
unlinkSync
unregisterEntry
unregisterListing
unwatchFile
utimesImpl
utimesPromise
utimesSync
watch
watchFile
writeFilePromise
writeFileSync
writeJsonPromise
writeJsonSync
writePromise
writeSync
Constructors
constructor
new
ZipFS
(
source
:
any
, opts
?:
object
)
:
ZipFS
Parameters
source:
any
Default value
opts:
object
= {}
Returns
ZipFS
Methods
access
Promise
access
Promise
(
p
:
any
, mode
:
any
)
:
Promise
<
void
>
Parameters
p:
any
mode:
any
Returns
Promise
<
void
>
access
Sync
access
Sync
(
p
:
any
, mode
?:
number
)
:
void
Parameters
p:
any
Default value
mode:
number
= fs.constants.F_OK
Returns
void
allocate
Buffer
allocate
Buffer
(
content
:
any
)
:
object
Parameters
content:
any
Returns
object
buffer
:
any
byte
Length
:
any
allocate
Source
allocate
Source
(
content
:
any
)
:
any
Parameters
content:
any
Returns
any
allocate
Unattached
Source
allocate
Unattached
Source
(
content
:
any
)
:
any
Parameters
content:
any
Returns
any
append
File
Promise
append
File
Promise
(
p
:
any
, content
:
any
, opts
:
any
)
:
Promise
<
void
>
Parameters
p:
any
content:
any
opts:
any
Returns
Promise
<
void
>
append
File
Sync
append
File
Sync
(
p
:
any
, content
:
any
, opts
?:
object
)
:
void
Parameters
p:
any
content:
any
Default value
opts:
object
= {}
Returns
void
change
File
Buffer
Promise
change
File
Buffer
Promise
(
p
:
any
, content
:
any
, __namedParameters
?:
object
)
:
Promise
<
void
>
Parameters
p:
any
content:
any
Default value
__namedParameters:
object
= {}
mode
:
any
Returns
Promise
<
void
>
change
File
Buffer
Sync
change
File
Buffer
Sync
(
p
:
any
, content
:
any
, __namedParameters
?:
object
)
:
void
Parameters
p:
any
content:
any
Default value
__namedParameters:
object
= {}
mode
:
any
Returns
void
change
File
Promise
change
File
Promise
(
p
:
any
, content
:
any
, opts
?:
object
)
:
Promise
<
void
>
Parameters
p:
any
content:
any
Default value
opts:
object
= {}
Returns
Promise
<
void
>
change
File
Sync
change
File
Sync
(
p
:
any
, content
:
any
, opts
?:
object
)
:
void
Parameters
p:
any
content:
any
Default value
opts:
object
= {}
Returns
void
change
File
Text
Promise
change
File
Text
Promise
(
p
:
any
, content
:
any
, __namedParameters
?:
object
)
:
Promise
<
void
>
Parameters
p:
any
content:
any
Default value
__namedParameters:
object
= {}
automatic
Newlines
:
any
mode
:
any
Returns
Promise
<
void
>
change
File
Text
Sync
change
File
Text
Sync
(
p
:
any
, content
:
any
, __namedParameters
?:
object
)
:
void
Parameters
p:
any
content:
any
Default value
__namedParameters:
object
= {}
automatic
Newlines
:
boolean
mode
:
any
Returns
void
checksum
File
Promise
checksum
File
Promise
(
path
:
any
, __namedParameters
?:
object
)
:
Promise
<
string
>
Parameters
path:
any
Default value
__namedParameters:
object
= {}
algorithm
:
string
Returns
Promise
<
string
>
chmod
Promise
chmod
Promise
(
p
:
any
, mask
:
any
)
:
Promise
<
void
>
Parameters
p:
any
mask:
any
Returns
Promise
<
void
>
chmod
Sync
chmod
Sync
(
p
:
any
, mask
:
any
)
:
void
Parameters
p:
any
mask:
any
Returns
void
chown
Promise
chown
Promise
(
p
:
any
, uid
:
any
, gid
:
any
)
:
Promise
<
void
>
Parameters
p:
any
uid:
any
gid:
any
Returns
Promise
<
void
>
chown
Sync
chown
Sync
(
p
:
any
, uid
:
any
, gid
:
any
)
:
void
Parameters
p:
any
uid:
any
gid:
any
Returns
void
close
Promise
close
Promise
(
fd
:
any
)
:
Promise
<
void
>
Parameters
fd:
any
Returns
Promise
<
void
>
close
Sync
close
Sync
(
fd
:
any
)
:
void
Parameters
fd:
any
Returns
void
copy
File
Promise
copy
File
Promise
(
sourceP
:
any
, destP
:
any
, flags
:
any
)
:
Promise
<
void
>
Parameters
sourceP:
any
destP:
any
flags:
any
Returns
Promise
<
void
>
copy
File
Sync
copy
File
Sync
(
sourceP
:
any
, destP
:
any
, flags
?:
number
)
:
void
Parameters
sourceP:
any
destP:
any
Default value
flags:
number
= 0
Returns
void
copy
Promise
copy
Promise
(
destination
:
any
, source
:
any
, __namedParameters
?:
object
)
:
Promise
<
void
>
Parameters
destination:
any
source:
any
Default value
__namedParameters:
object
= {}
base
Fs
:
this
link
Strategy
:
null
overwrite
:
boolean
stable
Sort
:
boolean
stable
Time
:
boolean
Returns
Promise
<
void
>
copy
Sync
copy
Sync
(
destination
:
any
, source
:
any
, __namedParameters
?:
object
)
:
void
Parameters
destination:
any
source:
any
Default value
__namedParameters:
object
= {}
base
Fs
:
this
overwrite
:
boolean
Returns
void
create
Read
Stream
create
Read
Stream
(
p
:
any
, __namedParameters
?:
object
)
:
PassThrough
&
object
Parameters
p:
any
Default value
__namedParameters:
object
= {}
encoding
:
any
Returns
PassThrough
&
object
create
Write
Stream
create
Write
Stream
(
p
:
any
, __namedParameters
?:
object
)
:
PassThrough
&
object
Parameters
p:
any
Default value
__namedParameters:
object
= {}
encoding
:
any
Returns
PassThrough
&
object
delete
Entry
delete
Entry
(
p
:
any
, index
:
any
)
:
void
Parameters
p:
any
index:
any
Returns
void
discard
And
Close
discard
And
Close
(
)
:
void
Returns
void
exists
Promise
exists
Promise
(
p
:
any
)
:
Promise
<
boolean
>
Parameters
p:
any
Returns
Promise
<
boolean
>
exists
Sync
exists
Sync
(
p
:
any
)
:
boolean
Parameters
p:
any
Returns
boolean
fchmod
Promise
fchmod
Promise
(
fd
:
any
, mask
:
any
)
:
Promise
<
void
>
Parameters
fd:
any
mask:
any
Returns
Promise
<
void
>
fchmod
Sync
fchmod
Sync
(
fd
:
any
, mask
:
any
)
:
void
Parameters
fd:
any
mask:
any
Returns
void
fchown
Promise
fchown
Promise
(
fd
:
any
, uid
:
any
, gid
:
any
)
:
Promise
<
void
>
Parameters
fd:
any
uid:
any
gid:
any
Returns
Promise
<
void
>
fchown
Sync
fchown
Sync
(
fd
:
any
, uid
:
any
, gid
:
any
)
:
void
Parameters
fd:
any
uid:
any
gid:
any
Returns
void
fd
ToPath
fd
ToPath
(
fd
:
any
, reason
:
any
)
:
any
Parameters
fd:
any
reason:
any
Returns
any
fstat
Promise
fstat
Promise
(
fd
:
any
, opts
:
any
)
:
Promise
<
BigIntStatsEntry
|
StatEntry
&
object
|
StatEntry
&
object
>
Parameters
fd:
any
opts:
any
Returns
Promise
<
BigIntStatsEntry
|
StatEntry
&
object
|
StatEntry
&
object
>
fstat
Sync
fstat
Sync
(
fd
:
any
, opts
:
any
)
:
BigIntStatsEntry
|
StatEntry
&
object
|
StatEntry
&
object
Parameters
fd:
any
opts:
any
Returns
BigIntStatsEntry
|
StatEntry
&
object
|
StatEntry
&
object
ftruncate
Promise
ftruncate
Promise
(
fd
:
any
, len
:
any
)
:
Promise
<
void
>
Parameters
fd:
any
len:
any
Returns
Promise
<
void
>
ftruncate
Sync
ftruncate
Sync
(
fd
:
any
, len
:
any
)
:
void
Parameters
fd:
any
len:
any
Returns
void
gen
Traverse
Promise
gen
Traverse
Promise
(
init
:
any
, __namedParameters
?:
object
)
:
AsyncGenerator
<
any
,
void
,
unknown
>
Parameters
init:
any
Default value
__namedParameters:
object
= {}
stable
Sort
:
boolean
Returns
AsyncGenerator
<
any
,
void
,
unknown
>
get
All
Files
get
All
Files
(
)
:
any
[]
Returns
any
[]
get
Buffer
And
Close
get
Buffer
And
Close
(
)
:
Buffer
Returns
Buffer
get
Extract
Hint
get
Extract
Hint
(
hints
:
any
)
:
boolean
Parameters
hints:
any
Returns
boolean
get
File
Source
get
File
Source
(
index
:
any
, opts
?:
object
)
:
any
Parameters
index:
any
Default value
opts:
object
= { asyncDecompress: false }
async
Decompress
:
boolean
Returns
any
get
Real
Path
get
Real
Path
(
)
:
string
Returns
string
get
Unix
Mode
get
Unix
Mode
(
index
:
any
, defaultMode
:
any
)
:
any
Parameters
index:
any
defaultMode:
any
Returns
any
has
Open
File
Handles
has
Open
File
Handles
(
)
:
boolean
Returns
boolean
hydrate
Directory
hydrate
Directory
(
resolvedP
:
any
)
:
any
Parameters
resolvedP:
any
Returns
any
is
Symbolic
Link
is
Symbolic
Link
(
index
:
any
)
:
boolean
Parameters
index:
any
Returns
boolean
link
Promise
link
Promise
(
existingP
:
any
, newP
:
any
)
:
Promise
<
void
>
Parameters
existingP:
any
newP:
any
Returns
Promise
<
void
>
link
Sync
link
Sync
(
existingP
:
any
, newP
:
any
)
:
void
Parameters
existingP:
any
newP:
any
Returns
void
lock
Promise
lock
Promise
(
affectedPath
:
any
, callback
:
any
)
:
Promise
<
any
>
Parameters
affectedPath:
any
callback:
any
Returns
Promise
<
any
>
lstat
Promise
lstat
Promise
(
p
:
any
, opts
?:
object
)
:
Promise
<
undefined
|
BigIntStatsEntry
|
StatEntry
&
object
|
StatEntry
&
object
>
Parameters
p:
any
Default value
opts:
object
= { bigint: false }
bigint
:
boolean
Returns
Promise
<
undefined
|
BigIntStatsEntry
|
StatEntry
&
object
|
StatEntry
&
object
>
lstat
Sync
lstat
Sync
(
p
:
any
, opts
?:
object
)
:
undefined
|
BigIntStatsEntry
|
StatEntry
&
object
|
StatEntry
&
object
Parameters
p:
any
Default value
opts:
object
= { bigint: false, throwIfNoEntry: true }
bigint
:
boolean
throw
IfNo
Entry
:
boolean
Returns
undefined
|
BigIntStatsEntry
|
StatEntry
&
object
|
StatEntry
&
object
lutimes
Promise
lutimes
Promise
(
p
:
any
, atime
:
any
, mtime
:
any
)
:
Promise
<
void
>
Parameters
p:
any
atime:
any
mtime:
any
Returns
Promise
<
void
>
lutimes
Sync
lutimes
Sync
(
p
:
any
, atime
:
any
, mtime
:
any
)
:
void
Parameters
p:
any
atime:
any
mtime:
any
Returns
void
make
Libzip
Error
make
Libzip
Error
(
error
:
any
)
:
LibzipError
Parameters
error:
any
Returns
LibzipError
mkdir
Promise
mkdir
Promise
(
p
:
any
, opts
:
any
)
:
Promise
<
any
>
Parameters
p:
any
opts:
any
Returns
Promise
<
any
>
mkdir
Sync
mkdir
Sync
(
p
:
any
, __namedParameters
?:
object
)
:
any
Parameters
p:
any
Default value
__namedParameters:
object
= {}
mode
:
number
recursive
:
boolean
Returns
any
mkdirp
Promise
mkdirp
Promise
(
p
:
any
, __namedParameters
?:
object
)
:
Promise
<
any
>
Parameters
p:
any
Default value
__namedParameters:
object
= {}
chmod
:
any
utimes
:
any
Returns
Promise
<
any
>
mkdirp
Sync
mkdirp
Sync
(
p
:
any
, __namedParameters
?:
object
)
:
any
Parameters
p:
any
Default value
__namedParameters:
object
= {}
chmod
:
any
utimes
:
any
Returns
any
move
Promise
move
Promise
(
fromP
:
any
, toP
:
any
)
:
Promise
<
void
>
Parameters
fromP:
any
toP:
any
Returns
Promise
<
void
>
move
Sync
move
Sync
(
fromP
:
any
, toP
:
any
)
:
void
Parameters
fromP:
any
toP:
any
Returns
void
open
Promise
open
Promise
(
p
:
any
, flags
:
any
, mode
:
any
)
:
Promise
<
number
>
Parameters
p:
any
flags:
any
mode:
any
Returns
Promise
<
number
>
open
Sync
open
Sync
(
p
:
any
, flags
:
any
, mode
:
any
)
:
number
Parameters
p:
any
flags:
any
mode:
any
Returns
number
opendir
Promise
opendir
Promise
(
p
:
any
, opts
:
any
)
:
Promise
<
CustomDir
>
Parameters
p:
any
opts:
any
Returns
Promise
<
CustomDir
>
opendir
Sync
opendir
Sync
(
p
:
any
, opts
?:
object
)
:
CustomDir
Parameters
p:
any
Default value
opts:
object
= {}
Returns
CustomDir
prepare
Close
prepare
Close
(
)
:
void
Returns
void
prepare
Copy
File
prepare
Copy
File
(
sourceP
:
any
, destP
:
any
, flags
?:
number
)
:
object
Parameters
sourceP:
any
destP:
any
Default value
flags:
number
= 0
Returns
object
index
Dest
:
any
index
Source
:
any
resolved
DestP
:
any
prepare
Readlink
prepare
Readlink
(
p
:
any
)
:
any
Parameters
p:
any
Returns
any
prepare
Write
File
prepare
Write
File
(
p
:
any
, opts
:
any
)
:
object
Parameters
p:
any
opts:
any
Returns
object
encoding
:
any
index
:
any
mode
:
any
resolvedP
:
any
preserve
Time
Promise
preserve
Time
Promise
(
p
:
any
, cb
:
any
)
:
Promise
<
void
>
Parameters
p:
any
cb:
any
Returns
Promise
<
void
>
preserve
Time
Sync
preserve
Time
Sync
(
p
:
any
, cb
:
any
)
:
Promise
<
void
>
Parameters
p:
any
cb:
any
Returns
Promise
<
void
>
read
File
Buffer
read
File
Buffer
(
p
:
any
, opts
?:
object
)
:
any
Parameters
p:
any
Default value
opts:
object
= { asyncDecompress: false }
async
Decompress
:
boolean
Returns
any
read
File
Promise
read
File
Promise
(
p
:
any
, encoding
:
any
)
:
Promise
<
any
>
Parameters
p:
any
encoding:
any
Returns
Promise
<
any
>
read
File
Sync
read
File
Sync
(
p
:
any
, encoding
:
any
)
:
any
Parameters
p:
any
encoding:
any
Returns
any
read
Json
Promise
read
Json
Promise
(
p
:
any
)
:
Promise
<
any
>
Parameters
p:
any
Returns
Promise
<
any
>
read
Json
Sync
read
Json
Sync
(
p
:
any
)
:
any
Parameters
p:
any
Returns
any
read
Promise
read
Promise
(
fd
:
any
, buffer
:
any
, offset
:
any
, length
:
any
, position
:
any
)
:
Promise
<
number
>
Parameters
fd:
any
buffer:
any
offset:
any
length:
any
position:
any
Returns
Promise
<
number
>
read
Sync
read
Sync
(
fd
:
any
, buffer
:
any
, offset
?:
number
, length
?:
any
, position
?:
number
)
:
number
Parameters
fd:
any
buffer:
any
Default value
offset:
number
= 0
Default value
length:
any
= buffer.byteLength
Default value
position:
number
= -1
Returns
number
readdir
Promise
readdir
Promise
(
p
:
any
, opts
:
any
)
:
Promise
<
any
[]
>
Parameters
p:
any
opts:
any
Returns
Promise
<
any
[]
>
readdir
Sync
readdir
Sync
(
p
:
any
, opts
:
any
)
:
any
[]
Parameters
p:
any
opts:
any
Returns
any
[]
readlink
Promise
readlink
Promise
(
p
:
any
)
:
Promise
<
any
>
Parameters
p:
any
Returns
Promise
<
any
>
readlink
Sync
readlink
Sync
(
p
:
any
)
:
any
Parameters
p:
any
Returns
any
realpath
Promise
realpath
Promise
(
p
:
any
)
:
Promise
<
any
>
Parameters
p:
any
Returns
Promise
<
any
>
realpath
Sync
realpath
Sync
(
p
:
any
)
:
any
Parameters
p:
any
Returns
any
register
Entry
register
Entry
(
p
:
any
, index
:
any
)
:
void
Parameters
p:
any
index:
any
Returns
void
register
Listing
register
Listing
(
p
:
any
)
:
any
Parameters
p:
any
Returns
any
remove
Promise
remove
Promise
(
p
:
any
, __namedParameters
?:
object
)
:
Promise
<
void
>
Parameters
p:
any
Default value
__namedParameters:
object
= {}
max
Retries
:
number
recursive
:
boolean
Returns
Promise
<
void
>
remove
Sync
remove
Sync
(
p
:
any
, __namedParameters
?:
object
)
:
void
Parameters
p:
any
Default value
__namedParameters:
object
= {}
recursive
:
boolean
Returns
void
rename
Promise
rename
Promise
(
oldP
:
any
, newP
:
any
)
:
Promise
<
void
>
Parameters
oldP:
any
newP:
any
Returns
Promise
<
void
>
rename
Sync
rename
Sync
(
oldP
:
any
, newP
:
any
)
:
void
Parameters
oldP:
any
newP:
any
Returns
void
resolve
resolve
(
p
:
any
)
:
any
Parameters
p:
any
Returns
any
resolve
Filename
resolve
Filename
(
reason
:
any
, p
:
any
, resolveLastComponent
?:
boolean
, throwIfNoEntry
?:
boolean
)
:
any
Parameters
reason:
any
p:
any
Default value
resolveLastComponent:
boolean
= true
Default value
throwIfNoEntry:
boolean
= true
Returns
any
rmdir
Promise
rmdir
Promise
(
p
:
any
, opts
:
any
)
:
Promise
<
void
>
Parameters
p:
any
opts:
any
Returns
Promise
<
void
>
rmdir
Sync
rmdir
Sync
(
p
:
any
, __namedParameters
?:
object
)
:
void
Parameters
p:
any
Default value
__namedParameters:
object
= {}
recursive
:
boolean
Returns
void
save
And
Close
save
And
Close
(
)
:
void
Returns
void
set
File
Source
set
File
Source
(
p
:
any
, content
:
any
)
:
any
Parameters
p:
any
content:
any
Returns
any
stat
Impl
stat
Impl
(
reason
:
any
, p
:
any
, opts
?:
object
)
:
BigIntStatsEntry
|
StatEntry
&
object
|
StatEntry
&
object
Parameters
reason:
any
p:
any
Default value
opts:
object
= {}
Returns
BigIntStatsEntry
|
StatEntry
&
object
|
StatEntry
&
object
stat
Promise
stat
Promise
(
p
:
any
, opts
?:
object
)
:
Promise
<
undefined
|
BigIntStatsEntry
|
StatEntry
&
object
|
StatEntry
&
object
>
Parameters
p:
any
Default value
opts:
object
= { bigint: false }
bigint
:
boolean
Returns
Promise
<
undefined
|
BigIntStatsEntry
|
StatEntry
&
object
|
StatEntry
&
object
>
stat
Sync
stat
Sync
(
p
:
any
, opts
?:
object
)
:
undefined
|
BigIntStatsEntry
|
StatEntry
&
object
|
StatEntry
&
object
Parameters
p:
any
Default value
opts:
object
= { bigint: false, throwIfNoEntry: true }
bigint
:
boolean
throw
IfNo
Entry
:
boolean
Returns
undefined
|
BigIntStatsEntry
|
StatEntry
&
object
|
StatEntry
&
object
symlink
Promise
symlink
Promise
(
target
:
any
, p
:
any
)
:
Promise
<
void
>
Parameters
target:
any
p:
any
Returns
Promise
<
void
>
symlink
Sync
symlink
Sync
(
target
:
any
, p
:
any
)
:
void
Parameters
target:
any
p:
any
Returns
void
truncate
Promise
truncate
Promise
(
p
:
any
, len
?:
number
)
:
Promise
<
void
>
Parameters
p:
any
Default value
len:
number
= 0
Returns
Promise
<
void
>
truncate
Sync
truncate
Sync
(
p
:
any
, len
?:
number
)
:
void
Parameters
p:
any
Default value
len:
number
= 0
Returns
void
unlink
Promise
unlink
Promise
(
p
:
any
)
:
Promise
<
void
>
Parameters
p:
any
Returns
Promise
<
void
>
unlink
Sync
unlink
Sync
(
p
:
any
)
:
void
Parameters
p:
any
Returns
void
unregister
Entry
unregister
Entry
(
p
:
any
)
:
void
Parameters
p:
any
Returns
void
unregister
Listing
unregister
Listing
(
p
:
any
)
:
void
Parameters
p:
any
Returns
void
unwatch
File
unwatch
File
(
p
:
any
, cb
:
any
)
:
void
Parameters
p:
any
cb:
any
Returns
void
utimes
Impl
utimes
Impl
(
resolvedP
:
any
, mtime
:
any
)
:
void
Parameters
resolvedP:
any
mtime:
any
Returns
void
utimes
Promise
utimes
Promise
(
p
:
any
, atime
:
any
, mtime
:
any
)
:
Promise
<
void
>
Parameters
p:
any
atime:
any
mtime:
any
Returns
Promise
<
void
>
utimes
Sync
utimes
Sync
(
p
:
any
, atime
:
any
, mtime
:
any
)
:
void
Parameters
p:
any
atime:
any
mtime:
any
Returns
void
watch
watch
(
p
:
any
, a
:
any
, b
:
any
)
:
object
Parameters
p:
any
a:
any
b:
any
Returns
object
close
:
function
close
(
)
:
void
Returns
void
on
:
function
on
(
)
:
void
Returns
void
watch
File
watch
File
(
p
:
any
, a
:
any
, b
:
any
)
:
any
Parameters
p:
any
a:
any
b:
any
Returns
any
write
File
Promise
write
File
Promise
(
p
:
any
, content
:
any
, opts
:
any
)
:
Promise
<
void
>
Parameters
p:
any
content:
any
opts:
any
Returns
Promise
<
void
>
write
File
Sync
write
File
Sync
(
p
:
any
, content
:
any
, opts
:
any
)
:
void
Parameters
p:
any
content:
any
opts:
any
Returns
void
write
Json
Promise
write
Json
Promise
(
p
:
any
, data
:
any
)
:
Promise
<
any
>
Parameters
p:
any
data:
any
Returns
Promise
<
any
>
write
Json
Sync
write
Json
Sync
(
p
:
any
, data
:
any
)
:
any
Parameters
p:
any
data:
any
Returns
any
write
Promise
write
Promise
(
fd
:
any
, buffer
:
any
, offset
:
any
, length
:
any
, position
:
any
)
:
Promise
<
void
>
Parameters
fd:
any
buffer:
any
offset:
any
length:
any
position:
any
Returns
Promise
<
void
>
write
Sync
write
Sync
(
fd
:
any
, buffer
:
any
, offset
:
any
, length
:
any
, position
:
any
)
:
void
Parameters
fd:
any
buffer:
any
offset:
any
length:
any
position:
any
Returns
void
".pnp"
ZipFS
constructor
access
Promise
access
Sync
allocate
Buffer
allocate
Source
allocate
Unattached
Source
append
File
Promise
append
File
Sync
change
File
Buffer
Promise
change
File
Buffer
Sync
change
File
Promise
change
File
Sync
change
File
Text
Promise
change
File
Text
Sync
checksum
File
Promise
chmod
Promise
chmod
Sync
chown
Promise
chown
Sync
close
Promise
close
Sync
copy
File
Promise
copy
File
Sync
copy
Promise
copy
Sync
create
Read
Stream
create
Write
Stream
delete
Entry
discard
And
Close
exists
Promise
exists
Sync
fchmod
Promise
fchmod
Sync
fchown
Promise
fchown
Sync
fd
ToPath
fstat
Promise
fstat
Sync
ftruncate
Promise
ftruncate
Sync
gen
Traverse
Promise
get
All
Files
get
Buffer
And
Close
get
Extract
Hint
get
File
Source
get
Real
Path
get
Unix
Mode
has
Open
File
Handles
hydrate
Directory
is
Symbolic
Link
link
Promise
link
Sync
lock
Promise
lstat
Promise
lstat
Sync
lutimes
Promise
lutimes
Sync
make
Libzip
Error
mkdir
Promise
mkdir
Sync
mkdirp
Promise
mkdirp
Sync
move
Promise
move
Sync
open
Promise
open
Sync
opendir
Promise
opendir
Sync
prepare
Close
prepare
Copy
File
prepare
Readlink
prepare
Write
File
preserve
Time
Promise
preserve
Time
Sync
read
File
Buffer
read
File
Promise
read
File
Sync
read
Json
Promise
read
Json
Sync
read
Promise
read
Sync
readdir
Promise
readdir
Sync
readlink
Promise
readlink
Sync
realpath
Promise
realpath
Sync
register
Entry
register
Listing
remove
Promise
remove
Sync
rename
Promise
rename
Sync
resolve
resolve
Filename
rmdir
Promise
rmdir
Sync
save
And
Close
set
File
Source
stat
Impl
stat
Promise
stat
Sync
symlink
Promise
symlink
Sync
truncate
Promise
truncate
Sync
unlink
Promise
unlink
Sync
unregister
Entry
unregister
Listing
unwatch
File
utimes
Impl
utimes
Promise
utimes
Sync
watch
watch
File
write
File
Promise
write
File
Sync
write
Json
Promise
write
Json
Sync
write
Promise
write
Sync
Generated using
TypeDoc