src/FilesystemCommand.h
branchv_0
changeset 27 532953173cd5
parent 24 4353cd19a6b5
child 28 9172bd97ae99
--- 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) {