MCPcopy Create free account
hub / github.com/KDE/kdiff3 / listDir

Method listDir

src/DirectoryInfo.cpp:38–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38bool 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}

Callers

nothing calls this directly

Calls 1

addIgnoreListMethod · 0.80

Tested by

no test coverage detected