aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/unified_agent_client/helpers.cpp
blob: 335cc4e32375c495cdfec815c25e70d6b0629096 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include "helpers.h"

namespace NUnifiedAgent::NPrivate {
    bool IsUtf8(const THashMap<TString, TString>& meta) {
        for (const auto& p: meta) {
            if (!IsUtf(p.first) || !IsUtf(p.second)) {
                return false;
            }
        }
        return true;
    }
}