using System; namespace LibGit2Sharp { /// /// Determines the sorting strategy when iterating through the content of the repository /// [Flags] public enum GitSortOptions { /// /// Sort the repository contents in no particular ordering; /// this sorting is arbitrary, implementation-specific /// and subject to change at any time. /// None = 0, /// /// Sort the repository contents in topological order /// (parents before children); this sorting mode /// can be combined with time sorting. /// Topological = (1 << 0), /// /// Sort the repository contents by commit time; /// this sorting mode can be combined with /// topological sorting. /// Time = (1 << 1), /// /// Iterate through the repository contents in reverse /// order; this sorting mode can be combined with /// any of the above. /// Reverse = (1 << 2) } }