using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExtensiblePortfolioSite.SDK.Git
{
    /// <summary>
    /// A commit inside a git repository
    /// </summary>
    public interface ICommit : IGitObject
    {
        /// <summary>
        /// The description of the commit
        /// </summary>
        public String Description { get; }

        /// <summary>
        /// List of files modified in the commit
        /// </summary>
        public IReadOnlyCollection<String> ModifiedFiles { get; }

        /// <summary>
        /// URL to the commit author's avatar
        /// </summary>
        public string AuthorAvatarUrl { get; }
    }
}
