MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / resolve_path

Function resolve_path

tests/vibevoice/vibevoice_warm_bench.cpp:66–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66std::filesystem::path resolve_path(const std::string & value) {
67 auto path = std::filesystem::path(value);
68 return path.is_absolute() ? path : std::filesystem::weakly_canonical(std::filesystem::current_path() / path);
69}
70
71std::string optional_string(const engine::io::json::Value & object, const std::string & key) {
72 const auto * value = object.find(key);

Callers 1

read_audio_bufferFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected