Table of Contents

Class ToolFileChange

Namespace
RDCore.SDK.Assistant
Assembly
RDCore.SDK.Protocols.dll

A change of a document, as the tools that fix code say it.

public sealed record ToolFileChange : IEquatable<ToolFileChange>
Inheritance
ToolFileChange
Implements
Inherited Members

Properties

Diff

The change of the document's text, as a unified diff (UnifiedDiff, RDCore.SDK); empty when only its path changes.

public string Diff { get; init; }

Property Value

string

NewPath

The path the document is renamed to, said as Path is; null when it keeps its path. A rename of a module renames the file named after it.

public string? NewPath { get; init; }

Property Value

string

Path

The document: its path relative to the workspace root, with / between folders; absolute for a document outside the root.

public required string Path { get; init; }

Property Value

string