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

Function getNameParts

source/Network/NetworkResourceService.cpp:54–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 }
53
54 std::vector<std::string> getNameParts(std::string const& resourceName)
55 {
56 std::vector<std::string> parts;
57 boost::split(parts, resourceName, boost::is_any_of(FolderSeparator));
58 for (auto& part : parts) {
59 part = trimWhitespace(part);
60 }
61 return parts;
62 }
63}
64
65std::vector<NetworkResourceTreeTO> NetworkResourceService::createTreeTOs(

Callers 4

createTreeTOsMethod · 0.85
getFolderNamesMethod · 0.85
removeFoldersFromNameMethod · 0.85

Calls 2

splitFunction · 0.85
trimWhitespaceFunction · 0.85

Tested by

no test coverage detected