| 242 | } |
| 243 | |
| 244 | bool 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 | |
| 258 | bool DirectoryList::defaultName(PathName& path, const PathName& name) const |
| 259 | { |
no outgoing calls
no test coverage detected