--- a/src/XattrAttributeFinder.h Wed Jan 16 18:16:07 2019 +0100
+++ b/src/XattrAttributeFinder.h Wed Jan 16 18:19:50 2019 +0100
@@ -37,8 +37,6 @@
private:
std::wstring_convert<codecvt_utf8<wchar_t>> convertor; // TODO: support also other encodings.
- fs::path currentFile;
-
string_t getXattr(const fs::path& file, const string_t& attributeName) {
// TODO: review, test on multiple platforms
// TODO: improve documentation in xattr.h in glibc
@@ -65,13 +63,6 @@
}
}
- void startFile(const fs::path& file) override {
- currentFile = file;
- };
-
- void endFile() override {
- };
-
virtual void writeField(RelationalWriter* writer, const RequestedField& field) override {
for (string_t alias : field.getAliases()) {
if (field.group == RequestedField::GROUP_XATTR) writer->writeAttribute(getXattr(currentFile, field.name));