Unravel Engine C++ Reference
Loading...
Searching...
No Matches
file_fingerprint.cpp File Reference
#include "file_fingerprint.h"
#include "file_istream.h"
#include "xxhash.h"
#include <array>
#include <istream>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  fs
 

Macros

#define XXH_INLINE_ALL
 

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.
 

Macro Definition Documentation

◆ XXH_INLINE_ALL

#define XXH_INLINE_ALL

Definition at line 4 of file file_fingerprint.cpp.