MCPcopy Create free account
hub / github.com/WiVRn/WiVRn / read_file

Function read_file

common/application.cpp:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34namespace
35{
36std::string read_file(const std::filesystem::path & path)
37{
38 std::ifstream f(path);
39 std::istreambuf_iterator<char> begin{f}, end;
40
41 return {begin, end};
42}
43
44std::string unescape(std::string_view in)
45{

Callers 1

do_desktop_entryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected