make AddFileSet public

This commit is contained in:
Glenn Maynard
2003-12-07 06:14:27 +00:00
parent c8d0b60e03
commit eb70b6aefd
+2 -1
View File
@@ -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);