Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
plugin-ext
FileSystemMainImpl
Class 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
,
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
,
target
,
opts
)
:
Promise
<
void
>
Parameters
source
:
UriComponents
target
:
UriComponents
opts
:
FileOverwriteOptions
Returns
Promise
<
void
>
$delete
$delete
(
uri
,
opts
)
:
Promise
<
void
>
Parameters
uri
:
UriComponents
opts
:
FileDeleteOptions
Returns
Promise
<
void
>
$mkdir
$mkdir
(
uri
)
:
Promise
<
void
>
Parameters
uri
:
UriComponents
Returns
Promise
<
void
>
$on
File
System
Change
$on
File
System
Change
(
handle
,
changes
)
:
void
Parameters
handle
:
number
changes
:
IFileChangeDto
[]
Returns
void
$read
File
$read
File
(
uri
)
:
Promise
<
BinaryBuffer
>
Parameters
uri
:
UriComponents
Returns
Promise
<
BinaryBuffer
>
$readdir
$readdir
(
uri
)
:
Promise
<
[
string
,
FileType
]
[]
>
Parameters
uri
:
UriComponents
Returns
Promise
<
[
string
,
FileType
]
[]
>
$register
File
System
Provider
$register
File
System
Provider
(
handle
,
scheme
,
capabilities
,
readonlyMessage
?
)
:
void
Parameters
handle
:
number
scheme
:
string
capabilities
:
FileSystemProviderCapabilities
Optional
readonlyMessage
:
MarkdownString
Returns
void
$rename
$rename
(
source
,
target
,
opts
)
:
Promise
<
void
>
Parameters
source
:
UriComponents
target
:
UriComponents
opts
:
FileOverwriteOptions
Returns
Promise
<
void
>
$stat
$stat
(
uri
)
:
Promise
<
Stat
>
Parameters
uri
:
UriComponents
Returns
Promise
<
Stat
>
$unregister
Provider
$unregister
Provider
(
handle
)
:
void
Parameters
handle
:
number
Returns
void
$write
File
$write
File
(
uri
,
content
)
:
Promise
<
void
>
Parameters
uri
:
UriComponents
content
:
BinaryBuffer
Returns
Promise
<
void
>
dispose
dispose
(
)
:
void
Returns
void
Static
Private
_handle
Error
_handle
Error
(
err
)
:
never
Parameters
err
:
any
Returns
never
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
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
Theia TypeDoc
Loading...