MCPcopy Create free account
hub / github.com/activeloopai/deeplake / readFileContents

Function readFileContents

cpp/3rd_party/sql-parser/test/tpc_h_tests.cpp:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13using namespace hsql;
14
15std::string readFileContents(std::string file_path) {
16 std::ifstream t(file_path.c_str());
17 std::string text((std::istreambuf_iterator<char>(t)), std::istreambuf_iterator<char>());
18 return text;
19}
20
21TEST(TPCHQueryGrammarTests) {
22 std::vector<std::string> files = {

Callers 1

TESTFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected