Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodingGay/BlackDex
/ FileStream
Method
FileStream
Bcore/src/main/cpp/Dobby/tests/catch.hpp:9351–9354 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
9349
9350
public:
9351
FileStream(StringRef filename) {
9352
m_ofs.open(filename.c_str());
9353
CATCH_ENFORCE(!m_ofs.fail(),
"Unable to open file: '"
<< filename <<
"'"
);
9354
}
9355
~FileStream() override = default;
9356
9357
public: // IStream
Callers
nothing calls this directly
Calls
3
c_str
Method · 0.80
fail
Method · 0.80
open
Method · 0.45
Tested by
no test coverage detected