summary refs log tree commit diff
path: root/LibGit/Interfaces/IRepoSource.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LibGit/Interfaces/IRepoSource.cs')
-rw-r--r--LibGit/Interfaces/IRepoSource.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit/Interfaces/IRepoSource.cs b/LibGit/Interfaces/IRepoSource.cs

index e276f60..2a29feb 100644 --- a/LibGit/Interfaces/IRepoSource.cs +++ b/LibGit/Interfaces/IRepoSource.cs
@@ -3,7 +3,7 @@ namespace LibGit.Interfaces; public interface IRepoSource { public string BasePath { get; set; } + public Task<bool> FileExists(string path); public Task<Stream> GetFileStream(string path); - public Task<Stream> GetObjectStreamById(string objectId) => GetFileStream(Path.Join("objects", objectId[..2], objectId[2..])); } \ No newline at end of file