24 #ifndef HYRAX_GIT_HISTORY_UTILS_H
25 #define HYRAX_GIT_HISTORY_UTILS_H
31 namespace fonc_history_util {
34 void updateHistoryAttributes(libdap::DDS *dds,
const std::string &ce);
37 void updateHistoryAttributes(libdap::DMR *dmr,
const std::string &ce);
40 std::string get_time_now();
41 std::string create_cf_history_txt(
const std::string &request_url);
42 template<
typename RJSON_WRITER>
void create_json_history_obj(
const std::string &request_url, RJSON_WRITER &writer);
52 std::string json_append_entry_to_array(
const std::string ¤t_doc_str,
const std::string &new_entry_str);