Last active
December 13, 2015 11:35
-
-
Save vgaltes/af3c017c2a4698acff31 to your computer and use it in GitHub Desktop.
Parsing the commit info
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
type CommitInfoCsv = CsvProvider<"Hash,Author,Date,Message", HasHeaders = false, Schema = "Hash,Author,Date(date),Message"> | |
let infoRow = CommitInfoCsv.Parse(commitInfoLine).Rows |> Seq.head | |
let commitInfo = {Hash = infoRow.Hash; Author = infoRow.Author; TimeStamp = infoRow.Date; Message = infoRow.Message} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment