aboutsummaryrefslogtreecommitdiffstats
path: root/vdslib/src/vespa/vdslib/distribution/distribution_config_util.h
blob: 62278a7f1d8e4ff68a66dc203a143792496e1b8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Vespa.ai. 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);
};

}