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

Method Copy

Source/cmFileTimes.cxx:134–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134cmsys::Status cmFileTimes::Copy(std::string const& fromFile,
135 std::string const& toFile)
136{
137 cmFileTimes fileTimes;
138 cmsys::Status load_status = fileTimes.Load(fromFile);
139 if (!load_status) {
140 return load_status;
141 }
142 return fileTimes.Store(toFile);
143}

Callers

nothing calls this directly

Calls 2

LoadMethod · 0.45
StoreMethod · 0.45

Tested by

no test coverage detected