Blender V5.0
BKE_id_hash.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2025 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#include <string>
6#include <variant>
7
8#include "BKE_main.hh"
9
10#include "BLI_map.hh"
11#include "BLI_vector.hh"
12
13#include "DNA_ID.h"
14
16
23
36
37using IDHashResult = std::variant<ValidDeepHashes, DeepHashErrors>;
38
45
47std::string id_hash_to_hex(const IDHash &hash);
48
49} // namespace blender::bke::id_hash
ID and Library types, which are fundamental for SDNA.
std::variant< ValidDeepHashes, DeepHashErrors > IDHashResult
IDHashResult compute_linked_id_deep_hashes(const Main &bmain, Span< const ID * > root_ids)
Definition id_hash.cc:233
std::string id_hash_to_hex(const IDHash &hash)
Definition id_hash.cc:257
#define hash
Definition noise_c.cc:154
VectorSet< std::string > updated_files
VectorSet< std::string > missing_files
Map< const ID *, IDHash > hashes