// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "distribution_config_util.h" #include #include namespace storage::lib { std::vector DistributionConfigUtil::getGroupPath(vespalib::stringref path) { vespalib::StringTokenizer st(path, ".", ""); std::vector result(st.size()); for (uint32_t i=0, n=result.size(); i(st[i]); } return result; } }