Scanner

File System Scanner.

Members

Functions

filterUnderAnyOfPaths
F[] filterUnderAnyOfPaths(F[] files, string[] dirPaths)

Filter out files that lie under any of the directories dirPaths.

processRegFile
void processRegFile(Viz viz, NotNull!Dir topDir, NotNull!RegFile theRegFile, NotNull!Dir parentDir, string[] keys, Symlink[] fromSymlinks, size_t subIndex, GStats gstats)

Process Regular File theRegFile.

scanDir
void scanDir(Viz viz, NotNull!Dir topDir, NotNull!Dir theDir, string[] keys, Symlink[] fromSymlinks, int maxDepth)

Scan Directory parentDir for keys.

scanELFFile
void scanELFFile(Viz viz, NotNull!RegFile elfFile, string[] keys, GStats gstats)

Scan elfFile for ELF Symbols.

scanForKeys
size_t scanForKeys(Viz viz, NotNull!Dir topDir, NotNull!File theFile, NotNull!Dir parentDir, Symlink[] fromSymlinks, Source src, Keys keys, bool[] bistHits, ScanContext ctx)

Search for Keys keys in Source src.

scanRegFile
void scanRegFile(Viz viz, NotNull!Dir topDir, NotNull!RegFile theRegFile, NotNull!Dir parentDir, string[] keys, Symlink[] fromSymlinks, size_t subIndex)

Search for Keys keys in Regular File theRegFile.

scanSymlink
void scanSymlink(Viz viz, NotNull!Dir topDir, NotNull!Symlink theSymlink, NotNull!Dir parentDir, string[] keys, Symlink[] fromSymlinks)

Scan Symlink symlink at parentDir for keys Put results in results.

showContentDups
void showContentDups(Viz viz)

Show Statistics.

showStats
void showStats(Viz viz)

Show Statistics.

Meta