struct

LSP::CreateFileOptions

Inherits JSON::Serializable < Struct < Value < Object

Options to create a file.

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

ignore_if_exists

Ignore if exists.

Source
ignore_if_exists=(ignore_if_exists : Bool | Nil)

Ignore if exists.

Source
overwrite

Overwrite existing file. Overwrite wins over ignoreIfExists

Source
overwrite=(overwrite : Bool | Nil)

Overwrite existing file. Overwrite wins over ignoreIfExists

Source