Interface WriteTextFileOptions

interface WriteTextFileOptions {
    encoding?: string;
    etag?: string;
    mtime?: number;
    overwriteEncoding?: boolean;
}

Hierarchy (view full)

Properties

encoding?: string

The encoding to use when updating a file.

etag?: string

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

mtime?: number

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

overwriteEncoding?: boolean

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