Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/node-core-library > IFileWriterFlags

IFileWriterFlags interface

Interface which represents the flags about which mode the file should be opened in.

Signature:

export interface IFileWriterFlags 

Properties

Property

Modifiers

Type

Description

append?

boolean

(Optional) Open file for appending.

exclusive?

boolean

(Optional) Fails if path exists. The exclusive flag ensures that path is newly created.