Unravel Engine C++ Reference
Loading...
Searching...
No Matches
file_fingerprint.h File Reference
#include "filesystem.h"
#include <cstdint>
#include <string>

Go to the source code of this file.

Namespaces

namespace  fs
 

Functions

auto fs::hash_file_fingerprint (const path &file_path, bool normalize_text_line_endings) -> std::string
 Hash a file's contents. Text assets normalize CRLF to LF before hashing.
 
auto fs::combine_file_fingerprints (const std::string &first_fingerprint, const std::string *additional_fingerprints, size_t additional_count) -> std::string
 Combine per-file fingerprints (raw 128-bit digests) into one hex fingerprint.
 

Variables

constexpr uint64_t fs::current_source_fingerprint_version = 1
 xxHash3 128-bit fingerprints (hex). Bump when the hashing or dependency-ordering scheme changes.