MCPcopy Create free account
hub / github.com/Kitware/CMake / Release

Method Release

Source/cmFileLockPool.cxx:69–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69cmFileLockResult cmFileLockPool::Release(std::string const& filename)
70{
71 for (auto& funcScope : this->FunctionScopes) {
72 cmFileLockResult const result = funcScope.Release(filename);
73 if (!result.IsOk()) {
74 return result;
75 }
76 }
77
78 for (auto& fileScope : this->FileScopes) {
79 cmFileLockResult const result = fileScope.Release(filename);
80 if (!result.IsOk()) {
81 return result;
82 }
83 }
84
85 return this->ProcessScope.Release(filename);
86}
87
88bool cmFileLockPool::IsAlreadyLocked(std::string const& filename) const
89{

Callers

nothing calls this directly

Calls 2

IsOkMethod · 0.80
IsLockedMethod · 0.80

Tested by

no test coverage detected