Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chenshuo/muduo
/ openForRead
Method
openForRead
muduo/base/GzipFile.h:60–63 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
58
// int flush(int f) { return ::gzflush(file_, f); }
59
60
static GzipFile openForRead(StringArg filename)
61
{
62
return GzipFile(::gzopen(filename.c_str(),
"rbe"
));
63
}
64
65
static GzipFile openForAppend(StringArg filename)
66
{
Callers
nothing calls this directly
Calls
2
GzipFile
Class · 0.85
c_str
Method · 0.80
Tested by
no test coverage detected