MCPcopy Create free account
hub / github.com/chrxh/alien / removeFoldersFromName

Method removeFoldersFromName

source/Network/NetworkResourceService.cpp:293–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293std::string NetworkResourceService::removeFoldersFromName(std::string const& resourceName)
294{
295 std::vector<std::string> parts = getNameParts(resourceName);
296 return parts.back();
297}
298
299std::set<std::vector<std::string>> NetworkResourceService::getFolderNames(std::vector<NetworkResourceRawTO> const& rawTOs, int minNesting)
300{

Callers

nothing calls this directly

Calls 1

getNamePartsFunction · 0.85

Tested by

no test coverage detected