aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/resource/resource.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/resource/resource.h
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 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 201b319363..42dd0f1891 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();
}