sapling/eden/fs/model
Adam Simpkins 736ce0715c make the Hash constructors constexpr
Summary:
Update the Hash constructors that accept a `ByteRange` and a `StringPiece` to
be `constexpr` so that all Hash constructors are now `constexpr`.

This probably shouldn't really make a big difference in practice.  I added
this since I wanted to define some static `Hash` constants in some tests, and
didn't want to worry about SIOF issues.

Reviewed By: chadaustin

Differential Revision: D13475781

fbshipit-source-id: fc1ce91c998f1badadbd6becd525458c25dd30de
2018-12-17 19:15:36 -08:00
..
git add kEmptySha1 hash constant 2018-11-28 16:16:16 -08:00
test make the Hash constructors constexpr 2018-12-17 19:15:36 -08:00
Blob.h add a BlobCache 2018-11-21 19:43:45 -08:00
CMakeLists.txt add CMake build files 2018-04-30 14:37:46 -07:00
Hash.cpp make the Hash constructors constexpr 2018-12-17 19:15:36 -08:00
Hash.h make the Hash constructors constexpr 2018-12-17 19:15:36 -08:00
ParentCommits.cpp folly::Optional -> std::optional 2018-10-23 17:05:11 -07:00
ParentCommits.h folly::Optional -> std::optional 2018-10-23 17:05:11 -07:00
Tree.cpp run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
Tree.h recover from a commit2tree entry existing without the corresponding tree 2018-06-06 14:36:32 -07:00
TreeEntry.cpp folly::Optional -> std::optional 2018-10-23 17:05:11 -07:00
TreeEntry.h add optional size and contentSha1 fields to TreeEntry 2018-10-31 11:50:39 -07:00