aboutsummaryrefslogtreecommitdiffstats
path: root/vdslib/src/vespa/vdslib/distribution/distribution_config_util.h
blob: b7bb0a1c01c30a06de071ab3266ea2baaa9a78e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <vespa/vespalib/stllike/string.h>
#include <vector>

namespace storage::lib {

struct DistributionConfigUtil {
    // Converts an input string of the form "1.2.3" to a returned vector {1, 2, 3}
    static std::vector<uint16_t> getGroupPath(vespalib::stringref path);
};

}