--- a/src/FilesystemCommand.h Wed Oct 30 16:47:41 2019 +0100
+++ b/src/FilesystemCommand.h Sun Nov 10 22:55:42 2019 +0100
@@ -37,6 +37,7 @@
#include "AttributeFinder.h"
#include "FileAttributeFinder.h"
#include "XattrAttributeFinder.h"
+#include "HashAttributeFinder.h"
namespace relpipe {
namespace in {
@@ -50,10 +51,12 @@
std::wstring_convert<codecvt_utf8<wchar_t>> convertor; // TODO: support also other encodings.
FileAttributeFinder fileAttributeFinder;
+ HashAttributeFinder hashAttributeFinder;
XattrAttributeFinder xattrAttributeFinder;
std::map<string_t, AttributeFinder*> attributeFinders{
{RequestedField::GROUP_FILE, &fileAttributeFinder},
+ {RequestedField::GROUP_HASH, &hashAttributeFinder},
{RequestedField::GROUP_XATTR, &xattrAttributeFinder}};
void reset(std::stringstream& stream) {