Created
December 19, 2015 17:33
-
-
Save vgaltes/ee3702b54a742f46cbee to your computer and use it in GitHub Desktop.
Number of revisions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let numberOfRevisions = | |
totalCommits | |
|> Array.collect(fun c -> c.Files) | |
|> Array.groupBy(fun f -> f.FileName) | |
|> Array.map ( fun c -> fst c, (snd c).Length) | |
|> Array.sortByDescending ( fun c -> snd c) | |
------------------------------------------------------- | |
val numberOfRevisions : (string * int) [] = | |
[|("src/SFA.Apprenticeships.Web.Candidate/SFA.Apprenticeships.Web"+[17 chars], | |
386); ("src/SFA.Apprenticeships.sln", 214); | |
("src/SFA.Apprenticeships.Web.Candidate/Web.config", 176); | |
("src/SFA.Apprenticeships.Web.Candidate.UnitTests/SFA.Apprentic"+[37 chars], | |
139); | |
("src/SFA.Apprenticeships.Web.Candidate/Content/_assets/css/main-ie8.css", | |
134); | |
("src/SFA.Apprenticeships.Web.Candidate/Content/_assets/css/main.css", 133); | |
("src/SFA.Apprenticeships.Web.Candidate/Providers/CandidateServ"+[14 chars], | |
123); ...] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment