Preparing search index...
The search index is not available
Octra libraries - v2.0.0
Octra libraries
@octra/web-media
DirectoryInfo
ClassDirectoryInfo
Hierarchy (
view full
)
DataInfo
DirectoryInfo
Index
Constructors
constructor
Properties
_hash?
_name
_size
_type
Accessors
attributes
entries
hash
name
path
size
type
Methods
add
Entries
clone
extract
Folder
Name
from
Folder
Object
Constructors
constructor
new
Directory
Info
(
path
,
size
?
)
:
DirectoryInfo
Parameters
path
:
string
Optional
size
:
number
Returns
DirectoryInfo
Properties
Protected
Optional
_hash
_hash
?:
string
Protected
_name
_name
:
string
Protected
_size
_size
:
number
Protected
_type
_type
:
string
Accessors
attributes
get
attributes
(
)
:
any
Returns
any
set
attributes
(
value
)
:
void
Parameters
value
:
any
Returns
void
entries
get
entries
(
)
:
(
FileInfo
|
DirectoryInfo
)
[]
Returns
(
FileInfo
|
DirectoryInfo
)
[]
set
entries
(
value
)
:
void
Parameters
value
:
(
FileInfo
|
DirectoryInfo
)
[]
Returns
void
hash
get
hash
(
)
:
undefined
|
string
Returns
undefined
|
string
set
hash
(
value
)
:
void
Parameters
value
:
undefined
|
string
Returns
void
name
get
name
(
)
:
string
Returns
string
path
get
path
(
)
:
string
Returns
string
size
get
size
(
)
:
number
Returns
number
set
size
(
value
)
:
void
Parameters
value
:
number
Returns
void
type
get
type
(
)
:
string
Returns
string
Methods
add
Entries
add
Entries
(
entries
)
:
void
Parameters
entries
:
(
FileInfo
|
DirectoryInfo
)
[]
Returns
void
clone
clone
(
)
:
DirectoryInfo
Returns
DirectoryInfo
Static
extract
Folder
Name
extract
Folder
Name
(
path
)
:
undefined
|
string
Parameters
path
:
string
Returns
undefined
|
string
Static
from
Folder
Object
from
Folder
Object
(
folder
)
:
Promise
<
DirectoryInfo
>
Parameters
folder
:
null
|
FileSystemEntry
Returns
Promise
<
DirectoryInfo
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_hash
_name
_size
_type
Accessors
attributes
entries
hash
name
path
size
type
Methods
add
Entries
clone
extract
Folder
Name
from
Folder
Object
Octra libraries - v2.0.0
Loading...