diff src/filestates.cpp @ 421:653e9694a694 ignore

Use regexes for anchored filenames (i.e. "this file only" and directory); report outcome of ignore to user
author Chris Cannam
date Fri, 17 Jun 2011 11:07:30 +0100
parents b9c153e00e84
children 0a16db274f2c
line wrap: on
line diff
--- a/src/filestates.cpp	Thu Jun 16 22:21:00 2011 +0100
+++ b/src/filestates.cpp	Fri Jun 17 11:07:30 2011 +0100
@@ -137,6 +137,11 @@
     return Unknown;
 }
 
+bool FileStates::isKnown(QString file) const
+{
+    return (m_stateMap.contains(file));
+}
+
 FileStates::Activities FileStates::activitiesSupportedBy(State s)
 {
     Activities a;