summary refs log tree commit diff
path: root/LibGit/Interfaces/IRepoSource.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-11 18:54:56 +0100
committerRory& <root@rory.gay>2025-12-11 18:54:56 +0100
commit6e2f48e24b0c003b4c8547ff88fc1a7f890a1c1e (patch)
tree7aac58a3a1045bde51e989cb0a1ab1c26c28e68f /LibGit/Interfaces/IRepoSource.cs
parentnet10 (diff)
downloadGitTools-6e2f48e24b0c003b4c8547ff88fc1a7f890a1c1e.tar.xz
read indexes and packs correctly
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