MCPcopy Create free account
hub / github.com/Vhonowslend/StreamFX-Public / config_file_path

Method config_file_path

source/plugin.cpp:147–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147std::filesystem::path streamfx::config_file_path(std::string_view file)
148{
149 char* root_path = obs_module_get_config_path(obs_current_module(), file.data());
150 if (root_path) {
151 auto ret = std::filesystem::u8path(root_path);
152 bfree(root_path);
153 return ret;
154 } else {
155 throw std::runtime_error("obs_module_get_config_path returned nullptr");
156 }
157}
158
159bool streamfx::open_url(std::string_view url)
160{

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected