From 2086ab09b8d89c27f524d82a68b9a2035ea02436 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 24 Oct 2023 16:29:46 +1100 Subject: Implement incremental updates of database indexes This makes rescanning the library *so* much faster. Yay! --- src/database/include/records.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/database/include/records.hpp') diff --git a/src/database/include/records.hpp b/src/database/include/records.hpp index e13c6568..09764ed0 100644 --- a/src/database/include/records.hpp +++ b/src/database/include/records.hpp @@ -52,6 +52,9 @@ auto EncodeHashKey(const uint64_t& hash) -> std::string; */ auto EncodeHashValue(TrackId id) -> std::string; +/* Encodes a hash key for the specified hash. */ +auto EncodeTagHashKey(const uint64_t& hash) -> std::string; + /* * Parses bytes previously encoded via EncodeHashValue back into a track id. May * return nullopt if parsing fails. -- cgit v1.2.3