mpc-js
Preparing search index...
node
Directory
Class Directory
Base class for objects in the music database.
Hierarchy (
View Summary
)
DirectoryEntry
Directory
Index
Constructors
constructor
Properties
entry
Type
last
Modified?
path
Methods
is
Directory
is
File
is
Playlist
is
Song
from
Value
Map
Constructors
constructor
new
Directory
(
valueMap
:
Map
<
string
,
string
>
)
:
Directory
Parameters
valueMap
:
Map
<
string
,
string
>
Returns
Directory
Properties
entry
Type
entryType
:
"directory"
Optional
last
Modified
lastModified
?:
Date
path
path
:
string
Methods
is
Directory
isDirectory
()
:
this
is
Directory
Returns
this
is
Directory
is
File
isFile
()
:
this
is
File
Returns
this
is
File
is
Playlist
isPlaylist
()
:
this
is
Playlist
Returns
this
is
Playlist
is
Song
isSong
()
:
this
is
Song
Returns
this
is
Song
Static
from
Value
Map
fromValueMap
(
valueMap
:
Map
<
string
,
string
>
,
withMetadata
?:
boolean
,
)
:
DirectoryEntry
Parameters
valueMap
:
Map
<
string
,
string
>
withMetadata
:
boolean
= true
Returns
DirectoryEntry
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
entry
Type
last
Modified
path
Methods
is
Directory
is
File
is
Playlist
is
Song
from
Value
Map
mpc-js
Loading...
Base class for objects in the music database.