buildahcker
Preparing search index...
BaseFileWithCachedContent
Class BaseFileWithCachedContent<T>
Abstract
Type Parameters
T
Hierarchy (
View Summary
)
BaseFileWithLoadedAttributes
BaseFileWithCachedContent
BaseRegularFile
BaseSymbolicLink
BaseDirectory
Index
Constructors
constructor
Properties
_
mode
Allow
_
mode
Mandatory
attributes
Methods
_
get
Content
_
get
Content
Hash
get
Attributes
get
Content
get
Content
Hash
get
Hash
write
Content
To
write
To
Constructors
constructor
new
BaseFileWithCachedContent
<
T
>
(
attributes
:
Partial
<
FileAttributes
>
,
)
:
BaseFileWithCachedContent
<
T
>
Type Parameters
T
Parameters
attributes
:
Partial
<
FileAttributes
>
Returns
BaseFileWithCachedContent
<
T
>
Properties
Protected
_
mode
Allow
_modeAllow
:
number
= 0xffff
Protected
_
mode
Mandatory
_modeMandatory
:
number
= 0
attributes
attributes
:
FileAttributes
Methods
Protected
Abstract
_
get
Content
_getContent
()
:
Promise
<
T
>
Returns
Promise
<
T
>
Protected
Abstract
_
get
Content
Hash
_getContentHash
()
:
Promise
<
Buffer
<
ArrayBufferLike
>
>
Returns
Promise
<
Buffer
<
ArrayBufferLike
>
>
get
Attributes
getAttributes
()
:
Promise
<
{
gid
:
number
;
mode
:
number
;
uid
:
number
}
>
Returns
Promise
<
{
gid
:
number
;
mode
:
number
;
uid
:
number
}
>
get
Content
getContent
()
:
Promise
<
T
>
Returns
Promise
<
T
>
get
Content
Hash
getContentHash
()
:
Promise
<
Buffer
<
ArrayBufferLike
>
>
Returns
Promise
<
Buffer
<
ArrayBufferLike
>
>
get
Hash
getHash
()
:
Promise
<
Buffer
<
ArrayBufferLike
>
>
Returns
Promise
<
Buffer
<
ArrayBufferLike
>
>
Abstract
write
Content
To
writeContentTo
(
destinationPath
:
string
)
:
Promise
<
void
>
Parameters
destinationPath
:
string
Returns
Promise
<
void
>
write
To
writeTo
(
destinationPath
:
string
)
:
Promise
<
void
>
Parameters
destinationPath
:
string
Returns
Promise
<
void
>
Settings
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
mode
Allow
_
mode
Mandatory
attributes
Methods
_
get
Content
_
get
Content
Hash
get
Attributes
get
Content
get
Content
Hash
get
Hash
write
Content
To
write
To
buildahcker
Loading...