Пример #1
0
        public async Task <IEnumerable <GitRemoteCommit> > GetLastCommitsAsync(
            Guid serviceId,
            string id,
            int top,
            CancellationToken cancellationToken)
        {
            IGitRemoteClient client = await CreateClient(serviceId, cancellationToken);

            return(await client.GetLastCommitsAsync(
                       serviceId,
                       id,
                       top,
                       cancellationToken));
        }