Ignore:
Timestamp:
May 31, 2017, 1:48:49 PM (2 years ago)
Author:
cameron
Message:

Handle non-existent files, directories=read mode, -s

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/grep_engine.h

    r5481 r5484  
    2020namespace grep {
    2121
     22// Thread function only.
     23void *DoGrepThreadFunction(void *args);
     24   
    2225class GrepEngine {
    2326public:
     
    3437    void doGrep(const std::string & fileName) const;
    3538
    36         uint64_t doGrep(const std::string & fileName, const uint32_t fileIdx) const;
     39    uint64_t doGrep(const std::string & fileName, const uint32_t fileIdx) const;
    3740
    3841    uint64_t doGrep(const int32_t fileDescriptor, const uint32_t fileIdx) const;
     
    4548void initFileResult(std::vector<std::string> filenames);
    4649   
    47 void PrintResult(GrepModeType grepMode, std::vector<size_t> & total_CountOnly);
     50void PrintResults();
    4851   
    4952
Note: See TracChangeset for help on using the changeset viewer.