refactoring of "cat"
commite76150f47b588c643ae9ed1d60f721412e00f6f8
authorJulien Verlaguet <julienv@fb.com>
Fri, 25 Apr 2014 00:28:21 +0000 (24 17:28 -0700)
committerSara Golemon <sgolemon@fb.com>
Mon, 28 Apr 2014 16:29:18 +0000 (28 09:29 -0700)
treeb75b590891bdc10b65c3c84a0e55d4e9783bf2ba
parentb336972045d395811e2c11a4b1d834aeb4e5ad71
refactoring of "cat"

Summary: There are several places in the code where we "cat" the content of a file.
We had the same logic in a bunch of different places, this diffs refactors them together.

Reviewed By: @jwatzman

Differential Revision: D1277913
hphp/hack/src/client/clientColorFile.ml
hphp/hack/src/hh_single_type_check.ml
hphp/hack/src/js/utils.ml
hphp/hack/src/parsing/parser_hack.ml
hphp/hack/src/server/serverConvert.ml
hphp/hack/src/utils/utils.ml