class

LSProtocol::CreateFileOptions

Inherits JSON::Serializable / Reference / Object

Options to create a file.

Constructors

new(pull : JSON::PullParser)
Source
new(ignore_if_exists : Bool | Nil = nil, overwrite : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

ignore_if_exists

Ignore if exists.

Source
overwrite

Overwrite existing file. Overwrite wins over ignoreIfExists

Source