MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / append_extension

Function append_extension

src/fileutils.cpp:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64fs::path append_extension(const fs::path& path, std::string_view ext)
65{
66 return fs::path{path}.replace_extension(path.extension().string().append(ext));
67}
68
69} // namespace MIGRAPHX_INLINE_NS
70} // namespace migraphx

Callers 1

TEST_CASEFunction · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected