Workstation API - v0.6.2
    Preparing search index...

    Interface GeneratedFileOptions

    Control how a generated file replaces existing content and its Unix permissions.

    interface GeneratedFileOptions {
        ifExists?: IfExistsPolicy;
        mode?: number;
    }
    Index
    ifExists?: IfExistsPolicy

    Existing-file policy. Defaults to overwrite, with the original saved for restoration.

    mode?: number

    Unix permissions as an octal number. Defaults to 0o644; use 0o600 for private files.