sapling/eden/win
Adam Simpkins 4d10340022 add a function to parse a duration string
Summary:
Add a `stringToDuration()` function to parse a string into a
`std::chrono::nanoseconds` value.

Strings are parsed as a sequence of `[number] [unit]` pairs.
For instance:

  `1m30s` --> 90 seconds
  `5s10ms` --> 5010 milliseconds
  `1d3h10m` --> 1 day, 3 hours, 10 minutes (1630 minutes total)

Reviewed By: strager

Differential Revision: D15428934

fbshipit-source-id: 63f6614595c1aaa08c0d03633c6d1b53ca5bf3d5
2019-06-11 13:08:28 -07:00
..
fs add a function to parse a duration string 2019-06-11 13:08:28 -07:00
lib/datapack Replace EDEN_WIN with _WIN32 for Windows only code 2019-05-09 16:33:08 -07:00
.clang-format Started Eden for Windows and integrated hg store with it. 2018-08-21 17:53:38 -07:00
.gitignore Text lint all .gitignore files 2019-05-15 11:35:00 -07:00
eden.sln Make Tree::getEntryPtr() do a case insensitive lookup on Windows 2019-05-17 11:48:37 -07:00