Summary:
Many callers of byLine method use it by providing arguments for File
explicit constructors. Added function breaks byLine(file desciptor)
use case. Commenting it out until File constructors are made exlicit to
fix failing tests.
Test Plan: unittest
Reviewed By: lucian@fb.com
FB internal diff:
D1133938
Blame Revision:
D1129497
| resplit(delim);
}
-/**
- * Ditto, take the filename and opens it
- */
-inline auto byLine(const char* fileName, char delim = '\n')
- -> decltype(byLine(File(fileName))) {
- return byLine(File(fileName), delim);
-}
-
}} // !folly::gen