Preparing search index...
The search index is not available
FlowOS
FlowOS
system/VirtualFS
default
Class default
Index
Constructors
constructor
Properties
db
file
System
Methods
add
Missing
Files
exists
handle
Permissions
init
mkdir
navigate
Path
navigate
Path
Parent
read
read
File
readdir
rename
rmdir
save
stat
unlink
write
write
File
Constructors
constructor
new default
(
)
:
default
Returns
default
Properties
Private
db
db
:
null
|
IDBDatabase
= null
Private
file
System
file
System
:
{
root
:
Directory
;
}
Type declaration
root
:
Directory
Methods
Private
add
Missing
Files
add
Missing
Files
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
exists
exists
(
path
)
:
Promise
<
boolean
>
Parameters
path
:
string
Returns
Promise
<
boolean
>
Private
Readonly
handle
Permissions
handle
Permissions
(
path
)
:
Promise
<
void
>
Parameters
path
:
string
Returns
Promise
<
void
>
init
init
(
dbName
?
)
:
Promise
<
default
>
Parameters
dbName
:
string
= 'virtualfs'
Returns
Promise
<
default
>
mkdir
mkdir
(
path
)
:
Promise
<
void
>
Parameters
path
:
string
Returns
Promise
<
void
>
Private
Readonly
navigate
Path
navigate
Path
(
path
)
:
Promise
<
{
current
:
Directory
|
File
;
parts
:
string
[]
;
}
>
Parameters
path
:
string
Returns
Promise
<
{
current
:
Directory
|
File
;
parts
:
string
[]
;
}
>
Private
Readonly
navigate
Path
Parent
navigate
Path
Parent
(
path
)
:
Promise
<
{
current
:
Directory
;
filename
:
string
;
parts
:
string
[]
;
}
>
Parameters
path
:
string
Returns
Promise
<
{
current
:
Directory
;
filename
:
string
;
parts
:
string
[]
;
}
>
Private
Readonly
read
read
(
)
:
Promise
<
{
root
:
Directory
;
}
>
Returns
Promise
<
{
root
:
Directory
;
}
>
read
File
read
File
(
path
)
:
Promise
<
Buffer
>
Parameters
path
:
string
Returns
Promise
<
Buffer
>
readdir
readdir
(
path
)
:
Promise
<
string
[]
>
Parameters
path
:
string
Returns
Promise
<
string
[]
>
rename
rename
(
oldPath
,
newPath
)
:
Promise
<
void
>
Parameters
oldPath
:
string
newPath
:
string
Returns
Promise
<
void
>
rmdir
rmdir
(
path
)
:
Promise
<
void
>
Parameters
path
:
string
Returns
Promise
<
void
>
Private
Readonly
save
save
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
stat
stat
(
path
)
:
Promise
<
Stats
>
Parameters
path
:
string
Returns
Promise
<
Stats
>
unlink
unlink
(
path
)
:
Promise
<
void
>
Parameters
path
:
string
Returns
Promise
<
void
>
Private
Readonly
write
write
(
fileSystemObject
)
:
Promise
<
void
>
Parameters
fileSystemObject
:
{
root
:
Directory
;
}
root
:
Directory
Returns
Promise
<
void
>
write
File
write
File
(
path
,
content
)
:
Promise
<
void
>
Parameters
path
:
string
content
:
string
|
Buffer
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
db
file
System
add
Missing
Files
exists
handle
Permissions
init
mkdir
navigate
Path
navigate
Path
Parent
read
read
File
readdir
rename
rmdir
save
stat
unlink
write
write
File
FlowOS
HTML
bootloader
decs
kernel
structures
FlowWindow
LibraryLib
ProcLib
ProcessLib
system
Desktop
UserAccessControl
VirtualFS
apps
Browser
Editor
Files
ImageViewer
Info
Manager
Settings
Loading...
Generated using
TypeDoc