aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/resource/resource.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/resource/resource.h
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/resource/resource.h')
-rw-r--r--library/cpp/resource/resource.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/resource/resource.h b/library/cpp/resource/resource.h
index 42dd0f1891d..201b319363a 100644
--- a/library/cpp/resource/resource.h
+++ b/library/cpp/resource/resource.h
@@ -1,22 +1,22 @@
#pragma once
-#include <util/generic/string.h>
+#include <util/generic/string.h>
#include <util/generic/strbuf.h>
#include <util/generic/vector.h>
namespace NResource {
struct TResource {
TStringBuf Key;
- TString Data;
+ TString Data;
};
- typedef TVector<TResource> TResources;
+ typedef TVector<TResource> TResources;
TString Find(const TStringBuf key);
bool FindExact(const TStringBuf key, TString* out);
//perform full scan for now
void FindMatch(const TStringBuf subkey, TResources* out);
- size_t Count() noexcept;
+ size_t Count() noexcept;
TStringBuf KeyByIndex(size_t idx);
- TVector<TStringBuf> ListAllKeys();
+ TVector<TStringBuf> ListAllKeys();
}