MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / getFilePath

Method getFilePath

src/common/ScanDir.cpp:115–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113
114
115const char* ScanDir::getFilePath()
116{
117#ifdef _WIN32
118 filePath.printf("%s\\%s", directory.c_str(), data.cFileName);
119#else
120 filePath.printf("%s/%s", directory.c_str(), data->d_name);
121#endif
122
123 return filePath.c_str();
124}
125
126bool ScanDir::match(const char *pattern, const char *name)
127{

Callers 1

initializeMethod · 0.80

Calls 2

printfMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected