Rankdblib.Projects.AddCommit C# (CSharp) Method

AddCommit() public method

Adds a commit to the array if the data hasn't already been submitted.
public AddCommit ( string commit ) : bool
commit string /// Commit ID ///
return bool
        public bool AddCommit(string commit)
        {
            if (!commits.Contains(commit))
            {
                commits.Add(commit);
            }
            else
            {
                return false;
            }
            return true;
        }