Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
plugin-ext
FileSystemMainImpl
Class FileSystemMainImpl
Hierarchy
FileSystemMainImpl
Implements
FileSystemMain
Disposable
Index
Constructors
constructor
Properties
_disposables
_file
Provider
_file
Service
_proxy
Methods
$copy
$delete
$mkdir
$on
File
System
Change
$read
File
$readdir
$register
File
System
Provider
$rename
$stat
$unregister
Provider
$write
File
dispose
_handle
Error
Constructors
constructor
new
File
System
Main
Impl
(
rpc
:
RPCProtocol
, container
:
Container
)
:
FileSystemMainImpl
Parameters
rpc:
RPCProtocol
container:
Container
Returns
FileSystemMainImpl
Properties
Private
Readonly
_disposables
_disposables
:
DisposableCollection
= ...
Private
Readonly
_file
Provider
_file
Provider
:
Map
<
number
,
RemoteFileSystemProvider
>
= ...
Private
Readonly
_file
Service
_file
Service
:
FileService
Private
Readonly
_proxy
_proxy
:
FileSystemExt
Methods
$copy
$copy
(
source
:
UriComponents
, target
:
UriComponents
, opts
:
FileOverwriteOptions
)
:
Promise
<
void
>
Parameters
source:
UriComponents
target:
UriComponents
opts:
FileOverwriteOptions
Returns
Promise
<
void
>
$delete
$delete
(
uri
:
UriComponents
, opts
:
FileDeleteOptions
)
:
Promise
<
void
>
Parameters
uri:
UriComponents
opts:
FileDeleteOptions
Returns
Promise
<
void
>
$mkdir
$mkdir
(
uri
:
UriComponents
)
:
Promise
<
void
>
Parameters
uri:
UriComponents
Returns
Promise
<
void
>
$on
File
System
Change
$on
File
System
Change
(
handle
:
number
, changes
:
IFileChangeDto
[]
)
:
void
Parameters
handle:
number
changes:
IFileChangeDto
[]
Returns
void
$read
File
$read
File
(
uri
:
UriComponents
)
:
Promise
<
BinaryBuffer
>
Parameters
uri:
UriComponents
Returns
Promise
<
BinaryBuffer
>
$readdir
$readdir
(
uri
:
UriComponents
)
:
Promise
<
[
string
,
FileType
]
[]
>
Parameters
uri:
UriComponents
Returns
Promise
<
[
string
,
FileType
]
[]
>
$register
File
System
Provider
$register
File
System
Provider
(
handle
:
number
, scheme
:
string
, capabilities
:
FileSystemProviderCapabilities
)
:
void
Parameters
handle:
number
scheme:
string
capabilities:
FileSystemProviderCapabilities
Returns
void
$rename
$rename
(
source
:
UriComponents
, target
:
UriComponents
, opts
:
FileOverwriteOptions
)
:
Promise
<
void
>
Parameters
source:
UriComponents
target:
UriComponents
opts:
FileOverwriteOptions
Returns
Promise
<
void
>
$stat
$stat
(
uri
:
UriComponents
)
:
Promise
<
Stat
>
Parameters
uri:
UriComponents
Returns
Promise
<
Stat
>
$unregister
Provider
$unregister
Provider
(
handle
:
number
)
:
void
Parameters
handle:
number
Returns
void
$write
File
$write
File
(
uri
:
UriComponents
, content
:
BinaryBuffer
)
:
Promise
<
void
>
Parameters
uri:
UriComponents
content:
BinaryBuffer
Returns
Promise
<
void
>
dispose
dispose
(
)
:
void
Returns
void
Static
Private
_handle
Error
_handle
Error
(
err
:
any
)
:
never
Parameters
err:
any
Returns
never
Modules
bulk-
edit
callhierarchy
console
core
debug
editor
editor-
preview
electron
external-
terminal
file-
search
filesystem
getting-
started
git
keymaps
markers
memory-
inspector
messages
metrics
mini-
browser
monaco
navigator
outline-
view
output
plugin
plugin-
dev
plugin-
ext
Comments
Command
Arg
Comments
Context
Command
Arg
Comments
Edit
Command
Arg
Composite
Tree
View
Node
Connection
Closed
Error
Custom
Editor
Widget
Data
Transfer
Data
Transfer
Data
Transfer
Item
Data
Transfer
Item
Debug
Adapter
Executable
Debug
Adapter
Inline
Implementation
Debug
Adapter
Named
Pipe
Server
Debug
Adapter
Server
Decoration
Range
Behavior
Decoration
Render
Options
Document
Link
Inlay
Hint
Kind
Known
Commands
Notification
Main
Object
Identifier
Parameter
Information
Plugin
Contributions
Plugin
Icon
Path
Plugin
Identifiers
Plugin
Package
Plugin
Paths
Plugin
View
Registry
Plugin
View
Widget
Process
Terminate
Message
Process
Terminated
Message
Schemes
Scm
Command
Arg
Selection
Provider
Commands
Signature
Help
Signature
Information
Symbol
Kind
Symbol
Kind
Converter
Text
Document
Show
Options
Text
Editor
Selection
Change
Kind
Themable
Decoration
Attachment
Render
Options
Themable
Decoration
Render
Options
Theme
Icon
Timeline
Command
Arg
Tree
View
Item
Reference
Tree
View
Node
View
Column
Webview
External
Endpoint
Webview
Widget
Workspace
Text
Edit
Dto
plugin-
ext-
vscode
plugin-
metrics
preferences
preview
process
property-
view
scm
scm-
extra
search-
in-
workspace
secondary-
window
task
terminal
timeline
toolbar
typehierarchy
userstorage
variable-
resolver
vsx-
registry
workspace
File
System
Main
Impl
constructor
_disposables
_file
Provider
_file
Service
_proxy
$copy
$delete
$mkdir
$on
File
System
Change
$read
File
$readdir
$register
File
System
Provider
$rename
$stat
$unregister
Provider
$write
File
dispose
_handle
Error