Skip to content

Instantly share code, notes, and snippets.

@vgaltes
Last active December 13, 2015 11:35
Show Gist options
  • Save vgaltes/af3c017c2a4698acff31 to your computer and use it in GitHub Desktop.
Save vgaltes/af3c017c2a4698acff31 to your computer and use it in GitHub Desktop.
Parsing the commit info
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