MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / StripFileName

Function StripFileName

native/thirdpart/flatbuffers/util.cpp:150–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150std::string StripFileName(const std::string &filepath) {
151 size_t i = filepath.find_last_of(PathSeparatorSet);
152 return i != std::string::npos ? filepath.substr(0, i) : "";
153}
154
155std::string ConCatPathFileName(const std::string &path,
156 const std::string &filename) {

Callers 3

DoParseMethod · 0.85
ParseFileMethod · 0.85
EnsureDirExistsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected