mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-08-14 14:49:48 +00:00
Move scan's core code into new machinery lib.
This commit is contained in:
parent
487b8efe61
commit
4e29200b47
26 changed files with 53 additions and 32 deletions
33
include/dindexer-machinery/filestats.hpp
Normal file
33
include/dindexer-machinery/filestats.hpp
Normal file
|
@ -0,0 +1,33 @@
|
|||
/* Copyright 2015, Michele Santullo
|
||||
* This file is part of "dindexer".
|
||||
*
|
||||
* "dindexer" is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* "dindexer" is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with "dindexer". If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef id4A7D7AB671954418939FC0BDA19C5B3F
|
||||
#define id4A7D7AB671954418939FC0BDA19C5B3F
|
||||
|
||||
#include <ctime>
|
||||
|
||||
namespace fastf {
|
||||
struct FileStats {
|
||||
int level;
|
||||
std::time_t atime;
|
||||
std::time_t mtime;
|
||||
bool is_dir;
|
||||
bool is_symlink;
|
||||
};
|
||||
} //namespace fastf
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue