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

Method DifferS

Source/cmFileTimeCache.cxx:53–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53bool cmFileTimeCache::DifferS(std::string const& f1, std::string const& f2)
54{
55 // Get the modification time for each file.
56 cmFileTime ft1;
57 cmFileTime ft2;
58 if (this->Load(f1, ft1) && this->Load(f2, ft2)) {
59 // Compare the two modification times.
60 return ft1.DifferS(ft2);
61 }
62 // No comparison available. Default to different times.
63 return true;
64}

Callers 1

InstallFileMethod · 0.45

Calls 1

LoadMethod · 0.95

Tested by

no test coverage detected