Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
34
namespace
35
{
36
std::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
44
std::string unescape(std::string_view in)
45
{
Callers
1
do_desktop_entry
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected