Switch to unified view

a/src/index/fsindexer.h b/src/index/fsindexer.h
...
...
57
    virtual ~FsIndexer();
57
    virtual ~FsIndexer();
58
58
59
    /** 
59
    /** 
60
     * Top level file system tree index method for updating a given database.
60
     * Top level file system tree index method for updating a given database.
61
     *
61
     *
62
     * We create the temporary directory, open the database,
62
     * We open the database,
63
     * then call a file system walk for each top-level directory.
63
     * then call a file system walk for each top-level directory.
64
     */
64
     */
65
    bool index();
65
    bool index();
66
66
67
    /** Index a list of files. No db cleaning or stemdb updating */
67
    /** Index a list of files. No db cleaning or stemdb updating */
...
...
86
86
87
 private:
87
 private:
88
    FsTreeWalker m_walker;
88
    FsTreeWalker m_walker;
89
    RclConfig   *m_config;
89
    RclConfig   *m_config;
90
    Rcl::Db     *m_db;
90
    Rcl::Db     *m_db;
91
    TempDir      m_tmpdir;
92
    string       m_reason;
91
    string       m_reason;
93
    DbIxStatusUpdater *m_updater;
92
    DbIxStatusUpdater *m_updater;
94
    std::vector<std::string> m_tdl;
93
    std::vector<std::string> m_tdl;
95
    FIMissingStore *m_missing;
94
    FIMissingStore *m_missing;
96
95
...
...
125
    void setlocalfields(const map<string, string>& flds, Rcl::Doc& doc);
124
    void setlocalfields(const map<string, string>& flds, Rcl::Doc& doc);
126
    void reapmetadata(const vector<MDReaper>& reapers, const string &fn,
125
    void reapmetadata(const vector<MDReaper>& reapers, const string &fn,
127
              Rcl::Doc& doc);
126
              Rcl::Doc& doc);
128
    string getDbDir() {return m_config->getDbDir();}
127
    string getDbDir() {return m_config->getDbDir();}
129
    FsTreeWalker::Status 
128
    FsTreeWalker::Status 
130
    processonefile(RclConfig *config, TempDir& tmpdir, const string &fn, 
129
    processonefile(RclConfig *config, const string &fn, 
131
           const struct stat *, const map<string,string>& localfields,
130
           const struct stat *, const map<string,string>& localfields,
132
           const vector<MDReaper>& mdreapers);
131
           const vector<MDReaper>& mdreapers);
133
};
132
};
134
133
135
#endif /* _fsindexer_h_included_ */
134
#endif /* _fsindexer_h_included_ */