Initial commit to new repository
This commit is contained in:
19
.decompiledproj/AxCopilot/Services/SearchResult.cs
Normal file
19
.decompiledproj/AxCopilot/Services/SearchResult.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
namespace AxCopilot.Services;
|
||||
|
||||
public class SearchResult
|
||||
{
|
||||
public string FilePath { get; init; } = "";
|
||||
|
||||
public int StartLine { get; init; }
|
||||
|
||||
public int EndLine { get; init; }
|
||||
|
||||
public double Score { get; init; }
|
||||
|
||||
public string Preview { get; init; } = "";
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{FilePath}:{StartLine}-{EndLine} (score: {Score:F3})";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user