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

Function check_keyword

src/geode/basic/file.cpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 void check_keyword( std::ifstream& file, std::string_view keyword )
51 {
52 OpenGeodeBasicException::check_exception(
53 line_starts_with( file, keyword ), nullptr,
54 OpenGeodeException::TYPE::data,
55 absl::StrCat( "Line should starts with \"", keyword, "\"" ) );
56 }
57
58 std::string goto_keyword( std::ifstream& file, std::string_view word )
59 {

Callers

nothing calls this directly

Calls 1

line_starts_withFunction · 0.85

Tested by

no test coverage detected