Skip to content

Scans files in a directory and subdirectories for a char sequence and returns a list of file paths, containing the sequence.

Notifications You must be signed in to change notification settings

cmk1988/FileContentSearcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FileContentSearcher

This class scans files in a directory and subdirectories for a char sequence and returns a list of file paths, containing the sequence.

In Test.cpp you can see how to use it.

The project just contains four classes, FileContentSearcher-, FileAnalyser-, FileFinder- and WindowsConsoleOutput-class.


FileContentSearcher-Class


The FileContentSearcher-class uses the other three classes to find all files (FileFinder), to check them if they contain the character sequence (FileAnalyser) and to output the progress (WindowsConsoleOutput).


alt text



FileAnalyser-Class


The FileAnalyser-class frisks a file for the given character sequence. If you just want to frisk a file, you just need to use this class.



FileFinder-Class


The FileFinder-class searches for files in the given directory and subdirectories. If you just want to find files in a directory, you just need to use this class.

About

Scans files in a directory and subdirectories for a char sequence and returns a list of file paths, containing the sequence.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages