class LSProtocol::CreateFile

Overview

Create file operation.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(kind : String | Nil, uri : URI | Nil, annotation_id : ChangeAnnotationIdentifier | Nil = nil, options : CreateFileOptions | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def annotation_id : ChangeAnnotationIdentifier | Nil #

An optional annotation identifier describing the operation.

@since 3.16.0


[View source]
def kind : String #

A create


[View source]
def options : CreateFileOptions | Nil #

Additional options


[View source]
def uri : URI #

The resource to create.


[View source]