From 497745ad31c90545b288e2845049e0ce474bcbe2 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周六, 19 10月 2019 10:10:45 +0800 Subject: [PATCH] Merge branch 'feature/code_review_and_refactor' into develop --- src/library/base/FileUtils.hpp | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/src/library/base/FileUtils.hpp b/src/library/base/FileUtils.hpp new file mode 100644 index 0000000..e6f9e9e --- /dev/null +++ b/src/library/base/FileUtils.hpp @@ -0,0 +1,22 @@ +/* + * FileUtils.h + * + * Created on: Apr 8, 2019 + * + */ + +#ifndef FILEUTILS_H_ +#define FILEUTILS_H_ +#include <string> +#include <vector> +#include "EventRegistry.h" + +namespace license { + +std::vector<std::string> filter_existing_files(const std::vector<std::string>& fileList,EventRegistry& registry, const char* extraData); +std::string get_file_contents(const char *filename,size_t max_size); +std::string remove_extension(const std::string& path); + +} /* namespace license */ + +#endif -- Gitblit v1.9.1