MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / lock

Method lock

ChatView/SessionFileRegistry.cpp:22–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22bool 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
31void SessionFileRegistry::release(const QString &path)
32{

Callers 1

setRecentFilePathMethod · 0.80

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected