Kfg Documentation
Preparing search index...
safeWriteFile
Function safeWriteFile
safeWriteFile
(
filePath
:
string
,
content
:
string
,
options
?:
SafeWriteOptions
,
)
:
Promise
<
void
>
Atomically writes
content
to
filePath
under the write lock.
Parameters
filePath
:
string
content
:
string
options
:
SafeWriteOptions
= {}
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Kfg Documentation
Loading...
Atomically writes
contenttofilePathunder the write lock.