Preparing search index...
The search index is not available
buildahcker
buildahcker
DiskFile
Class DiskFile
Hierarchy (
view full
)
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
Disk
File
(
sourceFilePath
,
attributes
)
:
DiskFile
Parameters
sourceFilePath
:
string
attributes
:
Partial
<
FileAttributes
>
Returns
DiskFile
Properties
Protected
_mode
Allow
_mode
Allow
:
number
= 0xffff
Protected
_mode
Mandatory
_mode
Mandatory
:
number
= 0
attributes
attributes
:
FileAttributes
Readonly
source
File
Path
source
File
Path
:
string
Methods
Protected
_get
Content
_get
Content
(
)
:
Promise
<
Buffer
>
Returns
Promise
<
Buffer
>
Protected
_get
Content
Hash
_get
Content
Hash
(
)
:
Promise
<
Buffer
>
Returns
Promise
<
Buffer
>
get
Attributes
get
Attributes
(
)
:
Promise
<
{
gid
:
number
;
mode
:
number
;
uid
:
number
;
}
>
Returns
Promise
<
{
gid
:
number
;
mode
:
number
;
uid
:
number
;
}
>
get
Content
get
Content
(
)
:
Promise
<
Buffer
>
Returns
Promise
<
Buffer
>
get
Content
Hash
get
Content
Hash
(
)
:
Promise
<
Buffer
>
Returns
Promise
<
Buffer
>
get
Hash
get
Hash
(
)
:
Promise
<
Buffer
>
Returns
Promise
<
Buffer
>
write
Content
To
write
Content
To
(
destinationPath
)
:
Promise
<
void
>
Parameters
destinationPath
:
string
Returns
Promise
<
void
>
write
To
write
To
(
destinationPath
)
:
Promise
<
void
>
Parameters
destinationPath
:
string
Returns
Promise
<
void
>
Settings
Theme
OS
Light
Dark
On This Page
constructor
_mode
Allow
_mode
Mandatory
attributes
source
File
Path
_get
Content
_get
Content
Hash
get
Attributes
get
Content
get
Content
Hash
get
Hash
write
Content
To
write
To
buildahcker
Loading...
Generated using
TypeDoc