public record Source(string Text, string? Path = null)
A text file with source code.
public string Text { get; }
The text file content.
public string? Path { get; }
The path to the file.
public static async Task<Source> Read(string path, CancellationToken token = default)
Reads source code from the specified file.