mpc-js
Preparing search index...
node
File
Class File
Base class for objects in the music database.
Hierarchy (
View Summary
)
DirectoryEntry
File
Index
Constructors
constructor
Properties
entry
Type
last
Modified?
path
size?
Methods
is
Directory
is
File
is
Playlist
is
Song
from
Value
Map
Constructors
constructor
new
File
(
valueMap
:
Map
<
string
,
string
>
)
:
File
Parameters
valueMap
:
Map
<
string
,
string
>
Returns
File
Properties
entry
Type
entryType
:
"file"
Optional
last
Modified
lastModified
?:
Date
path
path
:
string
Optional
size
size
?:
number
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
size
Methods
is
Directory
is
File
is
Playlist
is
Song
from
Value
Map
mpc-js
Loading...
Base class for objects in the music database.