aboutsummaryrefslogtreecommitdiff
path: root/include/Archive.hpp
blob: 10811aba69631af9f461b6d045fbebe9d6930319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef SIBS_ZLIB_HPP
#define SIBS_ZLIB_HPP

#include "Result.hpp"
#include "FileUtil.hpp"

namespace sibs
{
    class Archive
    {
    public:
        // Note: renames root directory in archive to @destination
        static Result<bool> extract(const _tinydir_char_t *source, const _tinydir_char_t *destination);
    };
}

#endif //SIBS_ZLIB_HPP