Search
Preparing search index...
The search index is not available
@atomist/automation-client
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"project/support/AbstractFile"
AbstractFile
Class AbstractFile
Convenient support for all File implementations
Hierarchy
AbstractScriptedFlushable
<
File
>
AbstractFile
InMemoryFile
NodeFsLocalFile
Implements
ScriptedFlushable
<
File
>
File
Index
Properties
cache
path
Accessors
dirty
extension
name
Methods
flush
get
Content
get
Content
Buffer
get
Content
Sync
invalidate
Cache
is
Binary
is
Executable
is
Readable
record
Action
rename
replace
replace
All
set
Content
set
Content
Sync
set
Path
Properties
Readonly
cache
cache
:
Record
<
string
,
object
>
Abstract
path
path
:
string
Accessors
dirty
get
dirty
(
)
:
boolean
Returns
boolean
extension
get
extension
(
)
:
string
Returns
string
name
get
name
(
)
:
string
Returns
string
Methods
flush
flush
(
)
:
Promise
<
this
>
Returns
Promise
<
this
>
Abstract
get
Content
get
Content
(
encoding
?:
string
)
:
Promise
<
string
>
Parameters
Optional
encoding:
string
Returns
Promise
<
string
>
Abstract
get
Content
Buffer
get
Content
Buffer
(
)
:
Promise
<
Buffer
>
Returns
Promise
<
Buffer
>
Abstract
get
Content
Sync
get
Content
Sync
(
)
:
string
Returns
string
Protected
invalidate
Cache
invalidate
Cache
(
)
:
this
Returns
this
Abstract
is
Binary
is
Binary
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
Abstract
is
Executable
is
Executable
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
Abstract
is
Readable
is
Readable
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
record
Action
record
Action
(
action
:
ScriptAction
<
File
,
any
>
)
:
this
Parameters
action:
ScriptAction
<
File
,
any
>
Returns
this
rename
rename
(
name
:
string
)
:
Promise
<
this
>
Parameters
name:
string
Returns
Promise
<
this
>
replace
replace
(
re
:
RegExp
, replacement
:
string
)
:
Promise
<
this
>
Parameters
re:
RegExp
replacement:
string
Returns
Promise
<
this
>
replace
All
replace
All
(
oldLiteral
:
string
, newLiteral
:
string
)
:
Promise
<
this
>
Parameters
oldLiteral:
string
newLiteral:
string
Returns
Promise
<
this
>
Abstract
set
Content
set
Content
(
content
:
string
)
:
Promise
<
this
>
Parameters
content:
string
Returns
Promise
<
this
>
Abstract
set
Content
Sync
set
Content
Sync
(
content
:
string
)
:
this
Parameters
content:
string
Returns
this
Abstract
set
Path
set
Path
(
path
:
string
)
:
Promise
<
this
>
Parameters
path:
string
Returns
Promise
<
this
>
Globals
"project/support/
Abstract
File"
Abstract
File
cache
path
dirty
extension
name
flush
get
Content
get
Content
Buffer
get
Content
Sync
invalidate
Cache
is
Binary
is
Executable
is
Readable
record
Action
rename
replace
replace
All
set
Content
set
Content
Sync
set
Path
Generated using
TypeDoc
Convenient support for all File implementations