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

Method expandFileName

src/common/config/dir_list.cpp:244–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244bool DirectoryList::expandFileName(PathName& path, const PathName& name) const
245{
246 fb_assert(mode != NotInitialized);
247 for (FB_SIZE_T i = 0; i < getCount(); i++)
248 {
249 PathUtils::concatPath(path, (*this)[i], name);
250 if (PathUtils::canAccess(path, 4)) {
251 return true;
252 }
253 }
254 path = name;
255 return false;
256}
257
258bool DirectoryList::defaultName(PathName& path, const PathName& name) const
259{

Callers 3

EXT_fileFunction · 0.80
lookupModuleMethod · 0.80
resolveDatabaseAccessFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected