This commit is contained in:
Your Name
2025-05-03 11:15:12 +12:00
parent a658ba1de6
commit 3c5fc11065
8 changed files with 82 additions and 18 deletions

View File

@@ -30,7 +30,7 @@ private:
void handle_get_metadata(const httplib::Request& req, httplib::Response& res);
bool validate_write_token(const std::string& token) const;
std::pair<std::string, std::string> parse_label_tag(const std::string& label_tag) const;
nlohmann::json get_metadata(const std::string& file_path) const;
void add_file_metadata(const std::string &file_path, nlohmann::json &metadata) const;
bool init_db();