MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / checkForUpdate

Method checkForUpdate

src/utilities/bcl/BCLFileReference.cpp:193–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193bool BCLFileReference::checkForUpdate() {
194 std::string newChecksum = openstudio::checksum(this->path());
195 if (m_checksum != newChecksum) {
196 m_checksum = newChecksum;
197 return true;
198 }
199 return false;
200}
201
202// bool operator==(const BCLFileReference& lhs, const BCLFileReference& rhs) {
203// return lhs.m_path == rhs.m_path;

Callers 3

checkForUpdatesFilesMethod · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 2

pathMethod · 0.95
checksumFunction · 0.50

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64