10#ifndef __FDP_METADATA_HXX__
11#define __FDP_METADATA_HXX__
14#include <ghc/filesystem.hpp>
23#include "digestpp/digestpp.hpp"
27 #define access _access_s
32namespace FairDataPipeline {
38std::string calculate_hash_from_file(
const ghc::filesystem::path &);
46std::string calculate_hash_from_string(
const std::string &input);
53std::string generate_random_hash();
62std::string current_time_stamp(
bool file_name =
false);
70std::string remove_local_from_root(
const std::string &root);
78std::string remove_backslash_from_path(
const std::string &path);
87bool file_exists(
const std::string &Filename );
95std::string read_token(
const ghc::filesystem::path &token_path);