File ctor should take StringPiece.
authorYedidya Feldblum <yfeldblum@fb.com>
Mon, 13 Jul 2015 20:25:25 +0000 (13:25 -0700)
committerSara Golemon <sgolemon@fb.com>
Wed, 15 Jul 2015 20:25:09 +0000 (13:25 -0700)
commite20eed09e0d77047b8e1efbcbfc1cb46e6cf0d97
tree76e56ec1139fdc9abbde7e77f99f79a9b0d558fe
parent48749665630ee4e89acaef9f060ecaaa2c227a0e
File ctor should take StringPiece.

Summary: [Folly] File ctor should take StringPiece.

This way we can use it with `std::string` and `folly::fbstring` a touch more easily.

Reviewed By: @luciang

Differential Revision: D2235870
folly/File.cpp
folly/File.h
folly/test/FileTest.cpp