| 20 | } |
| 21 | |
| 22 | bool SessionFileRegistry::lock(const QString &path) |
| 23 | { |
| 24 | if (path.isEmpty() || m_lockedPaths.contains(path)) { |
| 25 | return false; |
| 26 | } |
| 27 | m_lockedPaths.insert(path); |
| 28 | return true; |
| 29 | } |
| 30 | |
| 31 | void SessionFileRegistry::release(const QString &path) |
| 32 | { |
no test coverage detected