src/FilesystemCommand.h
branchv_0
changeset 28 9172bd97ae99
parent 27 532953173cd5
child 29 6f15f18d2abf
--- a/src/FilesystemCommand.h	Sun Nov 10 22:55:42 2019 +0100
+++ b/src/FilesystemCommand.h	Mon Nov 11 14:42:13 2019 +0100
@@ -38,6 +38,7 @@
 #include "FileAttributeFinder.h"
 #include "XattrAttributeFinder.h"
 #include "HashAttributeFinder.h"
+#include "ScriptAttributeFinder.h"
 
 namespace relpipe {
 namespace in {
@@ -52,11 +53,13 @@
 
 	FileAttributeFinder fileAttributeFinder;
 	HashAttributeFinder hashAttributeFinder;
+	ScriptAttributeFinder scriptAttributeFinder;
 	XattrAttributeFinder xattrAttributeFinder;
 
 	std::map<string_t, AttributeFinder*> attributeFinders{
 		{RequestedField::GROUP_FILE, &fileAttributeFinder},
 		{RequestedField::GROUP_HASH, &hashAttributeFinder},
+		{RequestedField::GROUP_SCRIPT, &scriptAttributeFinder},
 		{RequestedField::GROUP_XATTR, &xattrAttributeFinder}};
 
 	void reset(std::stringstream& stream) {