class

LSProtocol::RenameFile

Inherits JSON::Serializable / Reference / Object

Rename file operation

Constructors

new(kind : String | Nil, new_uri : URI | Nil, old_uri : URI | Nil, annotation_id : ChangeAnnotationIdentifier | Nil = nil, options : RenameFileOptions | Nil = nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

annotation_id

An optional annotation identifier describing the operation.

@since 3.16.0

Source
kind

A rename

Source
new_uri

The new location.

Source
old_uri

The old (existing) location.

Source
options

Rename options.

Source