MCPcopy Create free account
hub / github.com/ElementsProject/elements / UnlockDirectory

Function UnlockDirectory

src/util/system.cpp:135–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void UnlockDirectory(const fs::path& directory, const std::string& lockfile_name)
136{
137 LOCK(cs_dir_locks);
138 dir_locks.erase(fs::PathToString(directory / lockfile_name));
139}
140
141void ReleaseDirectoryLocks()
142{

Callers 1

CloseMethod · 0.85

Calls 2

PathToStringFunction · 0.85
eraseMethod · 0.45

Tested by

no test coverage detected