sapling/eden
Adam Simpkins 23eb6dc8d8 update DirList to accept StringPiece names
Summary:
Update DirList::add() to accept entry names as a folly::StringPiece instead of
just a null-terminated string.  This makes it possible to use PathComponent
objects without having to make a copy of the name just to ensure that it is
null terminated.

The libfuse APIs unfortunately only accept null terminated strings, so we now
simply manually populate the fuse_dirent structs in our buffer rather than
using the libfuse helper methods.

Reviewed By: wez

Differential Revision: D3762623

fbshipit-source-id: d4132b354912e0e003090bddcad0ce912f4ed401
2016-08-24 17:02:15 -07:00
..
docs add ClientConfig method that compiles repository data 2016-08-05 12:50:29 -07:00
fs Make getSHA1() a batch API. 2016-08-18 07:22:13 -07:00
fuse update DirList to accept StringPiece names 2016-08-24 17:02:15 -07:00
utils eden: enable std::hash for path types 2016-08-02 17:44:21 -07:00
DEFS Exclude the cpp_binary for the daemon from the python_binary for the CLI. 2016-06-15 17:07:58 -07:00