Theia API Documentation v1.65.0
    Preparing search index...
    interface WriteTextFileOptions {
        encoding?: string;
        etag?: string;
        mtime?: number;
        overwriteEncoding?: boolean;
    }

    Hierarchy (View Summary)

    Index

    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.