MCPcopy Create free account
hub / github.com/Geode-solutions/OpenGeode / line_starts_with

Function line_starts_with

src/geode/basic/file.cpp:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 }
42
43 bool line_starts_with( std::ifstream& file, std::string_view check )
44 {
45 std::string line;
46 std::getline( file, line );
47 return string_starts_with( line, check );
48 }
49
50 void check_keyword( std::ifstream& file, std::string_view keyword )
51 {

Callers 1

check_keywordFunction · 0.85

Calls 1

string_starts_withFunction · 0.85

Tested by

no test coverage detected