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

Method Add

Source/cmArchiveWrite.cxx:396–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396bool cmArchiveWrite::Add(std::string path, size_t skip, char const* prefix,
397 bool recursive)
398{
399 if (!path.empty() && path.back() == '/') {
400 path.erase(path.size() - 1);
401 }
402 this->AddPath(path.c_str(), skip, prefix, recursive);
403 return this->Okay();
404}
405
406bool cmArchiveWrite::AddPath(char const* path, size_t skip, char const* prefix,
407 bool recursive)

Callers

nothing calls this directly

Calls 7

AddPathMethod · 0.95
OkayMethod · 0.95
eraseMethod · 0.80
c_strMethod · 0.80
emptyMethod · 0.45
backMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected