Extracting information from your code repository using F# – Part 2: Basic statistics
In the previous article we've seen how to parse a git log file. We ended up having an array of commits:
Let's start extracting some useful statistics from it.
The first thing that can come into our mind is to know how many commits we have done to the repository. That's pretty easy to do:
As you can see, we are using the pipe forward operator (|>) and the Array.length function to extract this information.