MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / isLocked

Method isLocked

libraries/LocalPeer/src/LockedFile.cpp:138–141  ·  view source on GitHub ↗

! Returns \e true if this object has a in read or write lock; otherwise returns \e false. \sa lockMode() */

Source from the content-addressed store, hash-verified

136 \sa lockMode()
137*/
138bool LockedFile::isLocked() const
139{
140 return m_lock_mode != NoLock;
141}
142
143/*!
144 Returns the type of lock currently held by this object, or \e

Callers 1

isClientMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected