Lines Matching defs:srcPath
277 void ZipFile::GetAllFileList(const std::string &srcPath, std::vector<std::string> &assetList)
279 if (srcPath.empty()) {
283 auto rootName = srcPath.back() == FILE_SEPARATOR_CHAR ?
284 srcPath.substr(0, srcPath.length() - 1) : srcPath;
309 void ZipFile::GetChildNames(const std::string &srcPath, std::set<std::string> &fileSet)
311 if (srcPath.empty()) {
318 while (cur < srcPath.size() && srcPath[cur] == FILE_SEPARATOR_CHAR) {
321 if (cur >= srcPath.size()) {
324 auto next = srcPath.find_first_of(FILE_SEPARATOR_CHAR, cur);
325 auto nodeName = srcPath.substr(cur, next - cur);