class LSProtocol::CreateFileOptions

Overview

Options to create a file.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(ignore_if_exists : Bool | Nil = nil, overwrite : Bool | Nil = nil) #

[View source]

Instance Method Detail

def ignore_if_exists : Bool | Nil #

Ignore if exists.


[View source]
def overwrite : Bool | Nil #

Overwrite existing file. Overwrite wins over ignoreIfExists


[View source]