make AddFileSet public
This commit is contained in:
@@ -73,7 +73,6 @@ protected:
|
||||
void GetFilesMatching(const CString &dir,
|
||||
const CString &beginning, const CString &containing, const CString &ending,
|
||||
vector<CString> &out, bool bOnlyDirs);
|
||||
void AddFileSet( CString sPath, FileSet *fs );
|
||||
|
||||
/* The given path wasn't cached. Cache it, and return the cached FileSet or
|
||||
* NULL on failure. */
|
||||
@@ -85,6 +84,8 @@ public:
|
||||
ExpireSeconds( -1 ) { }
|
||||
FilenameDB::~FilenameDB() { FlushDirCache(); }
|
||||
|
||||
void AddFileSet( CString sPath, FileSet *fs );
|
||||
|
||||
/* This handles at most two * wildcards. If we need anything more complicated,
|
||||
* we'll need to use fnmatch or regex. */
|
||||
void GetFilesSimpleMatch(const CString &dir, const CString &fn, vector<CString> &out, bool bOnlyDirs);
|
||||
|
||||
Reference in New Issue
Block a user