Preparing search index...
The search index is not available
NDNts
NDNts
@ndn/fileserver
FileMetadata
Class FileMetadata
ndn6-file-server file/directory metadata.
Hierarchy (
view full
)
Metadata
FileMetadata
Implements
Extensible
Index
Constructors
constructor
Properties
[TAG]
atime
btime
ctime
final
Block
name
segment
Size
size
Accessors
is
Dir
is
File
last
Seg
mode
mtime
Methods
encode
To
decode
From
Constructors
constructor
new
File
Metadata
(
name
?
)
:
FileMetadata
Constructor.
Parameters
Optional
name
:
Name
Versioned name.
Returns
FileMetadata
Properties
Readonly
[TAG]
[TAG]
:
ExtensionRegistry
<
Extensible
>
= EXTENSIONS
atime
atime
:
undefined
|
Date
btime
btime
:
undefined
|
Date
ctime
ctime
:
undefined
|
Date
final
Block
final
Block
:
undefined
|
Component
name
name
:
Name
Versioned name.
segment
Size
segment
Size
:
undefined
|
number
size
size
:
undefined
|
number
Accessors
is
Dir
get
isDir
(
)
:
boolean
Returns
boolean
is
File
get
isFile
(
)
:
boolean
Returns
boolean
last
Seg
get
lastSeg
(
)
:
undefined
|
number
Returns
undefined
|
number
set
lastSeg
(
v
)
:
void
Parameters
v
:
undefined
|
number
Returns
void
mode
get
mode
(
)
:
number
Returns
number
set
mode
(
v
)
:
void
Parameters
v
:
number
Returns
void
mtime
get
mtime
(
)
:
Date
Returns
Date
set
mtime
(
v
)
:
void
Parameters
v
:
Date
Returns
void
Methods
encode
To
encode
To
(
encoder
)
:
void
Parameters
encoder
:
Encoder
Returns
void
Static
decode
From
decode
From
(
decoder
)
:
Metadata
Parameters
decoder
:
Decoder
Returns
Metadata
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
[TAG]
atime
btime
ctime
final
Block
name
segment
Size
size
Accessors
is
Dir
is
File
last
Seg
mode
mtime
Methods
encode
To
decode
From
NDNts
Loading...
ndn6-file-server file/directory metadata.