7871 Public method to remove a file from the list of monitored files. |
7871 Public method to remove a file from the list of monitored files. |
7872 |
7872 |
7873 @param filePath path of the file to be removed |
7873 @param filePath path of the file to be removed |
7874 @type str |
7874 @type str |
7875 """ |
7875 """ |
7876 if ( |
7876 if self.getOpenEditorCount( |
7877 self.getOpenEditorCount(filePath) == 0 |
7877 filePath |
7878 and FileSystemUtilities.isPlainFileName(filePath) |
7878 ) == 0 and FileSystemUtilities.isPlainFileName(filePath): |
7879 ): |
|
7880 self.__watcher.removePath(filePath) |
7879 self.__watcher.removePath(filePath) |
7881 |
7880 |
7882 ################################################################## |
7881 ################################################################## |
7883 ## Below are protected utility methods |
7882 ## Below are protected utility methods |
7884 ################################################################## |
7883 ################################################################## |