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
vscode-zipfs
ZipFSProvider
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 ZipFSProvider
Hierarchy
ZipFSProvider
Implements
FileSystemProvider
Properties
_emitter
fs
onDidChangeFile
Methods
createDirectory
delete
readDirectory
readFile
rename
stat
watch
writeFile
Properties
Private
_emitter
_emitter
:
EventEmitter
<
FileChangeEvent
[]
>
= new vscode.EventEmitter<Array<vscode.FileChangeEvent>>()
Private
fs
fs
:
PosixFS
= new PosixFS(new VirtualFS({baseFs: new ZipOpenFS({libzip: getLibzipSync(),useCache: true,maxOpenFiles: 80,}),}),)
on
Did
Change
File
on
Did
Change
File
:
Event
<
FileChangeEvent
[]
>
= this._emitter.event
Methods
create
Directory
create
Directory
(
uri
:
Uri
)
:
void
Parameters
uri:
Uri
Returns
void
delete
delete
(
uri
:
Uri
, options
:
object
)
:
void
Parameters
uri:
Uri
options:
object
recursive
:
boolean
Returns
void
read
Directory
read
Directory
(
uri
:
Uri
)
:
Array
<
[]
>
Parameters
uri:
Uri
Returns
Array
<
[]
>
read
File
read
File
(
uri
:
Uri
)
:
Uint8Array
Parameters
uri:
Uri
Returns
Uint8Array
rename
rename
(
oldUri
:
Uri
, newUri
:
Uri
, options
:
object
)
:
void
Parameters
oldUri:
Uri
newUri:
Uri
options:
object
overwrite
:
boolean
Returns
void
stat
stat
(
uri
:
Uri
)
:
FileStat
Parameters
uri:
Uri
Returns
FileStat
watch
watch
(
resource
:
Uri
, opts
:
any
)
:
Disposable
Parameters
resource:
Uri
opts:
any
Returns
Disposable
write
File
write
File
(
uri
:
Uri
, content
:
Uint8Array
, options
:
object
)
:
void
Parameters
uri:
Uri
content:
Uint8Array
options:
object
create
:
boolean
overwrite
:
boolean
Returns
void
"scripts/extract-
hooks"
acceptance-
tests
plugin-
compat
plugin-
constraints
plugin-
dlx
plugin-
essentials
plugin-
exec
plugin-
file
plugin-
git
plugin-
github
plugin-
http
plugin-
init
plugin-
interactive-
tools
plugin-
link
plugin-
nm
plugin-
npm
plugin-
npm-
cli
plugin-
pack
plugin-
patch
plugin-
pnp
plugin-
pnpm
plugin-
stage
plugin-
typescript
plugin-
version
plugin-
workspace-
tools
vscode-
zipfs
ZipFSProvider
_emitter
fs
on
Did
Change
File
create
Directory
delete
read
Directory
read
File
rename
stat
watch
write
File
Link
COMBINED_
SELECTORS
FILEPATH_
MATCHER
FILE_
SELECTOR_
MATCHER
SELECTOR_
PATTERNS
activate
mount
register
Terminal
Link
Provider
unmount
yarnpkg-
builder
yarnpkg-
cli
yarnpkg-
core
yarnpkg-
doctor
yarnpkg-
extensions
yarnpkg-
fslib
yarnpkg-
libui
yarnpkg-
libzip
yarnpkg-
nm
yarnpkg-
parsers
yarnpkg-
pnp
yarnpkg-
pnpify
yarnpkg-
sdks
yarnpkg-
shell
Generated using
TypeDoc