Last active
December 13, 2015 11:16
-
-
Save vgaltes/de82a84c79f428f00e34 to your computer and use it in GitHub Desktop.
Reading the log file
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
[<Literal>] | |
let lineBreak = "\r\n" | |
let filePath =Path.Combine(__SOURCE_DIRECTORY__, "..\..\Data\gitLog.log") | |
let file = File.ReadAllText(filePath) | |
let commits = file.Split([|lineBreak + lineBreak|], StringSplitOptions.RemoveEmptyEntries) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment