CBuild
C++ build system with scripts written in c++
|
Hasher base class and some helper functions This file implements some helper funtions, eg. storing and retrieving files from database and also provides base class for hasher. Hasher need to implement dependency scanning and hashing function @license GPL v3.0 or later. More...
#include "string"
#include "vector"
#include "../CBuild_defs.hpp"
#include "../filesystem++.hpp"
#include "../map.hpp"
#include "stdint.h"
Go to the source code of this file.
Classes | |
class | CBuild::Hash |
Namespaces | |
namespace | CBuild |
Filebuffer for CBuild ecosystem. | |
Functions | |
uint64_t | CBuild::hash_djb2 (std::string str) |
djb2 hashing function for std::string | |
uint64_t | CBuild::hash_fnv_1a (std::string str) |
FNV-1a hashing function for std::string. | |
Hasher base class and some helper functions This file implements some helper funtions, eg. storing and retrieving files from database and also provides base class for hasher. Hasher need to implement dependency scanning and hashing function @license GPL v3.0 or later.
Copyright (C) 2023 WolodiaM This program 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. This program 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 this program. If not, see https://www.gnu.org/licenses/.
Definition in file hasher.hpp.