MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / format_command_for_log

Function format_command_for_log

src/python/windows_process_utils.hpp:61–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59#endif
60
61 inline std::string format_command_for_log(const std::filesystem::path& program,
62 const std::vector<std::string>& args) {
63 std::ostringstream stream;
64 stream << '"' << lfs::core::path_to_utf8(program) << '"';
65 for (const auto& arg : args) {
66 stream << ' ' << '"' << arg << '"';
67 }
68 return stream.str();
69 }
70
71} // namespace lfs::python::detail

Callers 2

ensure_venvMethod · 0.85
execute_uvMethod · 0.85

Calls 2

path_to_utf8Function · 0.85
strMethod · 0.80

Tested by

no test coverage detected