class LSProtocol::DeleteFile
- LSProtocol::DeleteFile
- Reference
- Object
Overview
Delete file operation
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(kind : String | Nil, uri : URI | Nil, annotation_id : ChangeAnnotationIdentifier | Nil = nil, options : DeleteFileOptions | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#annotation_id : ChangeAnnotationIdentifier | Nil
An optional annotation identifier describing the operation.
-
#kind : String
A delete
-
#options : DeleteFileOptions | Nil
Delete options.
-
#uri : URI
The file to delete.
Constructor Detail
def self.new(kind : String | Nil, uri : URI | Nil, annotation_id : ChangeAnnotationIdentifier | Nil = nil, options : DeleteFileOptions | Nil = nil)
#
Instance Method Detail
def annotation_id : ChangeAnnotationIdentifier | Nil
#
An optional annotation identifier describing the operation.
@since 3.16.0