summaryrefslogtreecommitdiff
path: root/src/database/include/records.hpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-03-21 12:57:11 +1100
committerjacqueline <me@jacqueline.id.au>2024-03-21 12:57:11 +1100
commit3dc0989c7fd6d3d508fa9c5e5269dc45396c09e9 (patch)
tree3e7ddaecaea99d3afb906ad22092dbd796a1abb6 /src/database/include/records.hpp
parentdadac304dd930ddf4c5aebcc069c5d9f881b2b60 (diff)
downloadtangara-fw-3dc0989c7fd6d3d508fa9c5e5269dc45396c09e9.tar.gz
fix db key prefix format, and use per-file modification times
Diffstat (limited to 'src/database/include/records.hpp')
-rw-r--r--src/database/include/records.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/database/include/records.hpp b/src/database/include/records.hpp
index 09764ed0..87034059 100644
--- a/src/database/include/records.hpp
+++ b/src/database/include/records.hpp
@@ -21,6 +21,8 @@
namespace database {
+auto EncodePathKey(std::string_view path) -> std::string;
+
/*
* Returns the prefix added to every TrackData key. This can be used to iterate
* over every data record in the database.