Mercurial > hg > easyhg
diff src/filestates.cpp @ 541:0a16db274f2c fswatcher
Update the filesystem watcher with work directory / file state. Still doesn't track "clean" files properly unless "show all files" is enabled
author | Chris Cannam |
---|---|
date | Tue, 14 Feb 2012 16:17:23 +0000 |
parents | 653e9694a694 |
children | 533519ebc0cb |
line wrap: on
line diff
--- a/src/filestates.cpp Mon Feb 13 17:29:06 2012 +0000 +++ b/src/filestates.cpp Tue Feb 14 16:17:23 2012 +0000 @@ -142,6 +142,18 @@ return (m_stateMap.contains(file)); } +QStringList FileStates::trackedFiles() const +{ + QStringList all; + all << filesInState(Modified); + all << filesInState(Added); + all << filesInState(Removed); + all << filesInState(InConflict); + all << filesInState(Missing); + all << filesInState(Clean); + return all; +} + FileStates::Activities FileStates::activitiesSupportedBy(State s) { Activities a;