Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BYVoid/OpenCC
/ IsReadableFile
Function
IsReadableFile
plugins/jieba/tests/JiebaPluginIntegrationTest.cpp:102–105 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
100
}
101
102
bool IsReadableFile(const std::string& path) {
103
std::ifstream ifs(path.c_str());
104
return ifs.is_open();
105
}
106
107
} // namespace
108
#else
Callers
2
PluginDirectory
Method · 0.70
MergedJiebaDictPath
Method · 0.70
Calls
1
is_open
Method · 0.45
Tested by
no test coverage detected