Search
Preparing search index...
The search index is not available
vusion-api
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"fs/Directory"
Directory
Class Directory
Hierarchy
FSEntry
Directory
Index
Constructors
constructor
Properties
_change
Listeners
_mini
Change
Listeners
base
Name
children
ext
Name
file
Name
full
Path
is
Directory
is
Open
is
Saving
is
Vue
is
Watched
title
Methods
add
Event
Listener
close
find
force
Open
load
on
Change
on
Mini
Change
open
remove
Event
Listener
save
watch
fetch
Constructors
constructor
new
Directory
(
fullPath
:
string
)
:
Directory
Parameters
fullPath:
string
Returns
Directory
Properties
_change
Listeners
_change
Listeners
:
Array
<
Function
>
_mini
Change
Listeners
_mini
Change
Listeners
:
Array
<
Function
>
base
Name
base
Name
:
string
children
children
:
Array
<
FSEntry
>
ext
Name
ext
Name
:
string
file
Name
file
Name
:
string
full
Path
full
Path
:
string
is
Directory
is
Directory
:
boolean
is
Open
is
Open
:
boolean
is
Saving
is
Saving
:
boolean
is
Vue
is
Vue
:
boolean
is
Watched
is
Watched
:
boolean
title
title
:
string
Methods
add
Event
Listener
add
Event
Listener
(
eventName
:
string
, listener
:
Function
)
:
void
Parameters
eventName:
string
listener:
Function
Returns
void
close
close
(
)
:
void
Returns
void
find
find
(
relativePath
:
string
, openIfNotLoaded
?:
boolean
)
:
Promise
<
FSEntry
>
Parameters
relativePath:
string
Default value
openIfNotLoaded:
boolean
= false
Returns
Promise
<
FSEntry
>
force
Open
force
Open
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Protected
load
load
(
)
:
Promise
<
FSEntry
[]
>
Returns
Promise
<
FSEntry
[]
>
on
Change
on
Change
(
event
:
string
, filePath
:
string
, key
?:
string
, hash
?:
string
)
:
void
Parameters
event:
string
filePath:
string
Optional
key:
string
Optional
hash:
string
Returns
void
on
Mini
Change
on
Mini
Change
(
event
:
string
, filePath
:
string
, key
?:
string
, hash
?:
string
)
:
Promise
<
void
>
Parameters
event:
string
filePath:
string
Optional
key:
string
Optional
hash:
string
Returns
Promise
<
void
>
open
open
(
)
:
void
|
Promise
<
void
>
Returns
void
|
Promise
<
void
>
remove
Event
Listener
remove
Event
Listener
(
eventName
:
string
, listener
:
Function
)
:
void
Parameters
eventName:
string
listener:
Function
Returns
void
save
save
(
)
:
void
|
Promise
<
void
>
Returns
void
|
Promise
<
void
>
watch
watch
(
listener
:
(
eventName
:
string
, filePath
:
string
)
=>
void
)
:
FSWatcher
Parameters
listener:
(
eventName
:
string
, filePath
:
string
)
=>
void
(
eventName
:
string
, filePath
:
string
)
:
void
Parameters
eventName:
string
filePath:
string
Returns
void
Returns
FSWatcher
Static
fetch
fetch
(
fullPath
:
string
)
:
Directory
Parameters
fullPath:
string
Returns
Directory
Globals
"fs/
Directory"
Directory
constructor
_change
Listeners
_mini
Change
Listeners
base
Name
children
ext
Name
file
Name
full
Path
is
Directory
is
Open
is
Saving
is
Vue
is
Watched
title
add
Event
Listener
close
find
force
Open
load
on
Change
on
Mini
Change
open
remove
Event
Listener
save
watch
fetch
Generated using
TypeDoc