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

Function cm_archive_entry_copy_sourcepath

Source/cmArchiveWrite.cxx:54–62  ·  view source on GitHub ↗

Set path used for filesystem access.

Source from the content-addressed store, hash-verified

52
53// Set path used for filesystem access.
54static void cm_archive_entry_copy_sourcepath(struct archive_entry* e,
55 std::string const& file)
56{
57#ifdef _WIN32
58 archive_entry_copy_sourcepath_w(e, cmsys::Encoding::ToWide(file).c_str());
59#else
60 archive_entry_copy_sourcepath(e, file.c_str());
61#endif
62}
63
64class cmArchiveWrite::Entry
65{

Callers 1

AddFileMethod · 0.85

Calls 3

c_strMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…