using LibGit.Interfaces; namespace LibGitTest; public class FileRepoSource : IRepoSource { public FileRepoSource(string basePath) { BasePath = basePath; } public string BasePath { get; set; } public async Task GetFileStream(string path) { return File.OpenRead(Path.Join(BasePath, path)); } }