blob: e276f60cef6cc3546c325ee0be1459bc38273967 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
namespace LibGit.Interfaces;
public interface IRepoSource
{
public string BasePath { get; set; }
public Task<Stream> GetFileStream(string path);
public Task<Stream> GetObjectStreamById(string objectId) => GetFileStream(Path.Join("objects", objectId[..2], objectId[2..]));
}
|