diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-06 09:14:11 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-06 09:14:11 +0100 |
| commit | 5339d016c07bf717ee388f4feb73544087324af0 (patch) | |
| tree | 94be6f67ed626091f24aee24ec3b3be03d01e4e7 /Source/FilesystemIndexer.cxx | |
git: port from mercurial repo.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Source/FilesystemIndexer.cxx')
| -rw-r--r-- | Source/FilesystemIndexer.cxx | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Source/FilesystemIndexer.cxx b/Source/FilesystemIndexer.cxx new file mode 100644 index 00000000..84c52890 --- /dev/null +++ b/Source/FilesystemIndexer.cxx @@ -0,0 +1,28 @@ +/* + * ======================================================== + * + * hCore + * Copyright Mahrouss Logic, all rights reserved. + * + * ======================================================== + */ + +//! @brief hCore NewFS Indexer. + +#include <FSKit/FilesystemIndexer.hxx> +#include <CompilerKit/Compiler.hpp> +#include <NewKit/MutableArray.hpp> +#include <NewKit/Utils.hpp> + +#define kMaxLenIndexer 256 + +namespace hCore +{ + namespace Indexer + { + IndexProperty& IndexableProperty::LeakProperty() noexcept { return fIndex; } + + void IndexableProperty::AddFlag(Int16 flag) { fFlags |= flag; } + void IndexableProperty::RemoveFlag(Int16 flag) { fFlags &= flag; } + } +} |
