| 36 | } |
| 37 | |
| 38 | bool DirectoryInfo::listDir(FileAccess& fileAccess, DirectoryList& dirList) |
| 39 | { |
| 40 | CompositeIgnoreList ignoreList; |
| 41 | if(gOptions->m_bDmUseCvsIgnore) |
| 42 | { |
| 43 | ignoreList.addIgnoreList(std::make_unique<CvsIgnoreList>()); |
| 44 | ignoreList.addIgnoreList(std::make_unique<GitIgnoreList>()); |
| 45 | } |
| 46 | return fileAccess.listDir(&dirList, |
| 47 | gOptions->m_bDmRecursiveDirs, gOptions->m_bDmFindHidden, |
| 48 | gOptions->m_DmFilePattern, gOptions->m_DmFileAntiPattern, |
| 49 | gOptions->m_DmDirAntiPattern, gOptions->m_bDmFollowDirLinks, |
| 50 | ignoreList); |
| 51 | } |
nothing calls this directly
no test coverage detected