| 106 | } |
| 107 | |
| 108 | bool try_lock(bool *tryAgain = nullptr) { |
| 109 | if (m_enable) { |
| 110 | return m_fileLock->try_lock(m_lockType, tryAgain); |
| 111 | } |
| 112 | return false; |
| 113 | } |
| 114 | |
| 115 | void unlock() { |
| 116 | if (m_enable) { |
nothing calls this directly
no outgoing calls
no test coverage detected