MCPcopy Create free account
hub / github.com/bombela/backward-cpp / get_paths_from_env_variable_impl

Method get_paths_from_env_variable_impl

backward.hpp:3804–3811  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3802 _file;
3803
3804 std::vector<std::string> get_paths_from_env_variable_impl() {
3805 std::vector<std::string> paths;
3806 const char *prefixes_str = std::getenv("BACKWARD_CXX_SOURCE_PREFIXES");
3807 if (prefixes_str && prefixes_str[0]) {
3808 paths = details::split_source_prefixes(prefixes_str);
3809 }
3810 return paths;
3811 }
3812
3813 const std::vector<std::string> &get_paths_from_env_variable() {
3814 static std::vector<std::string> paths = get_paths_from_env_variable_impl();

Callers

nothing calls this directly

Calls 1

split_source_prefixesFunction · 0.85

Tested by

no test coverage detected