aboutsummaryrefslogtreecommitdiff
path: root/src/Filesystem.hpp
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2021-10-20 19:58:38 +0200
committerlns <matzeton@googlemail.com>2021-10-20 19:58:38 +0200
commit384724a00be9dbb8f40d295f99b9c6bcfb48b387 (patch)
tree6e053365bb995bf675397368281c0a3ff92bd9fc /src/Filesystem.hpp
parent7b01dd8e4b1779e4c4dd782dbec87acce0f4754b (diff)
Added MD4C support to render HTML from Markdown text.
* additional blog metadata properties Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'src/Filesystem.hpp')
-rw-r--r--src/Filesystem.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Filesystem.hpp b/src/Filesystem.hpp
index 02150fb..98fbdcd 100644
--- a/src/Filesystem.hpp
+++ b/src/Filesystem.hpp
@@ -9,11 +9,12 @@
#include <vector>
using FilesDict = std::unordered_map<std::string, struct file_data>;
+using Data = std::vector<unsigned char>;
struct file_data
{
std::string mime;
- std::vector<unsigned char> data;
+ Data data;
};
class Filesystem