Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WriteTextFileOptions

Hierarchy

Index

Properties

Optional encoding

encoding: string

The encoding to use when updating a file.

Optional Readonly etag

etag: string

The etag of the file. This can be used to prevent dirty writes.

Optional Readonly mtime

mtime: number

The last known modification time of the file. This can be used to prevent dirty writes.

Optional overwriteEncoding

overwriteEncoding: boolean

If set to true, will enforce the selected encoding and not perform any detection using BOMs.