MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / UnlockDirectory

Function UnlockDirectory

src/util/fs_helpers.cpp:81–85  ·  view source on GitHub ↗

namespace util

Source from the content-addressed store, hash-verified

79}
80} // namespace util
81void UnlockDirectory(const fs::path& directory, const fs::path& lockfile_name)
82{
83 LOCK(cs_dir_locks);
84 dir_locks.erase(fs::PathToString(directory / lockfile_name));
85}
86
87void ReleaseDirectoryLocks()
88{

Callers 1

~BasicTestingSetupMethod · 0.85

Calls 2

PathToStringFunction · 0.85
eraseMethod · 0.45

Tested by 1

~BasicTestingSetupMethod · 0.68