namespace Flawless.Abstraction;
///
/// Standardized interface to describe a place to store depots and how they connected with each other.
///
public interface IReadonlyRepository
{
public bool IsReadonly { get; }
public IEnumerable GetCommits();
public RepositoryCommit? GetCommitById(uint commitId);
public IAsyncEnumerable GetCommitsAsync(CancellationToken cancellationToken = default);
public Task GetCommitByIdAsync(uint commitId, CancellationToken cancellationToken = default);
}