Added a new variant of byLine to keep the delimiter
authorSong Zhou <songzh@fb.com>
Sat, 20 May 2017 14:53:57 +0000 (07:53 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 20 May 2017 15:05:27 +0000 (08:05 -0700)
commit988893267f284be2133b302d55b9bb9b9ea3e930
treedd46a347bc72a45f58cb5fa0bfd694d72dabfe12
parent7e04d47528f4ac428741ec41efdc500fb515e4ac
Added a new variant of byLine to keep the delimiter

Summary: new method byLineFull will not trim the delimiter so that consumers can check if final line is ended up with delimiter or not.

Reviewed By: philippv, yfeldblum

Differential Revision: D5085371

fbshipit-source-id: 5045127ee11d008e3cd7d13d33bffad280fe0a7e
folly/gen/File-inl.h
folly/gen/String-inl.h
folly/gen/String.h
folly/gen/test/FileTest.cpp
folly/gen/test/StringTest.cpp