buildahcker
Preparing search index...
DiskFile
Class DiskFile
Hierarchy (
View Summary
)
BaseRegularFile
DiskFile
Index
Constructors
constructor
Properties
_
mode
Allow
_
mode
Mandatory
attributes
source
File
Path
Methods
_
get
Content
_
get
Content
Hash
get
Attributes
get
Content
get
Content
Hash
get
Hash
write
Content
To
write
To
Constructors
constructor
new
DiskFile
(
sourceFilePath
:
string
,
attributes
:
Partial
<
FileAttributes
>
,
)
:
DiskFile
Parameters
sourceFilePath
:
string
attributes
:
Partial
<
FileAttributes
>
Returns
DiskFile
Properties
Protected
_
mode
Allow
_modeAllow
:
number
= 0xffff
Protected
_
mode
Mandatory
_modeMandatory
:
number
= 0
attributes
attributes
:
FileAttributes
Readonly
source
File
Path
sourceFilePath
:
string
Methods
Protected
_
get
Content
_getContent
()
:
Promise
<
Buffer
<
ArrayBufferLike
>
>
Returns
Promise
<
Buffer
<
ArrayBufferLike
>
>
Protected
_
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
<
Buffer
<
ArrayBufferLike
>
>
Returns
Promise
<
Buffer
<
ArrayBufferLike
>
>
get
Content
Hash
getContentHash
()
:
Promise
<
Buffer
<
ArrayBufferLike
>
>
Returns
Promise
<
Buffer
<
ArrayBufferLike
>
>
get
Hash
getHash
()
:
Promise
<
Buffer
<
ArrayBufferLike
>
>
Returns
Promise
<
Buffer
<
ArrayBufferLike
>
>
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
source
File
Path
Methods
_
get
Content
_
get
Content
Hash
get
Attributes
get
Content
get
Content
Hash
get
Hash
write
Content
To
write
To
buildahcker
Loading...