Preparing search index...
The search index is not available
NDNts
NDNts
@ndn/fileserver
FileMetadata
Class FileMetadata
ndn6-file-server file/directory metadata.
Hierarchy (
View Summary
)
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
FileMetadata
(
name
?:
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
finalBlock
:
undefined
|
Component
name
name
:
Name
Versioned name.
segment
Size
segmentSize
:
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
:
undefined
|
number
)
:
void
Parameters
v
:
undefined
|
number
Returns
void
mode
get
mode
()
:
number
Returns
number
set
mode
(
v
:
number
)
:
void
Parameters
v
:
number
Returns
void
mtime
get
mtime
()
:
Date
Returns
Date
set
mtime
(
v
:
Date
)
:
void
Parameters
v
:
Date
Returns
void
Methods
encode
To
encodeTo
(
encoder
:
Encoder
)
:
void
Parameters
encoder
:
Encoder
Returns
void
Static
decode
From
decodeFrom
(
decoder
:
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.