Makes sure paths going in and out of the notifier will have the same format
| 188 | |
| 189 | /// Makes sure paths going in and out of the notifier will have the same format |
| 190 | String FileSystemChangeNotifier::cleanPath(const Path& dir) |
| 191 | { |
| 192 | // This "cleans up" the path, if we don't do this we can get mismatches on the path |
| 193 | // coming from the notifier |
| 194 | FileSystemRef fs = Torque::FS::GetFileSystem(dir); |
| 195 | if (!fs) |
| 196 | return String::EmptyString; |
| 197 | return fs->mapFrom(fs->mapTo(dir)); |
| 198 | } |
| 199 | |
| 200 | void FileSystemChangeNotifier::internalNotifyDirChanged( const Path &dir ) |
| 201 | { |
nothing calls this directly
no test coverage detected