namespace Flawless.Core.Interface;
///
/// 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 IRepositoryCommit? GetCommitById(uint commitId);
public IAsyncEnumerable GetCommitsAsync(CancellationToken cancellationToken = default);
public Task GetCommitByIdAsync(uint commitId, CancellationToken cancellationToken = default);
}