MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / strip_path

Function strip_path

lib/mdflib/mdf2csv/src/programargument.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 "SPDX-License-Identifier: MIT";
20
21void strip_path(std::string& file_path) {
22 while (!file_path.empty() && file_path[0] == '"') {
23 file_path = file_path.substr(1);
24 file_path.pop_back();
25 }
26}
27}
28
29namespace mdf {

Callers 1

ParseMethod · 0.85

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected