mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
23 lines
436 B
C++
23 lines
436 B
C++
#ifndef XRPL_BASICS_ARCHIVE_H_INCLUDED
|
|
#define XRPL_BASICS_ARCHIVE_H_INCLUDED
|
|
|
|
#include <boost/filesystem.hpp>
|
|
|
|
namespace xrpl {
|
|
|
|
/** Extract a tar archive compressed with lz4
|
|
|
|
@param src the path of the archive to be extracted
|
|
@param dst the directory to extract to
|
|
|
|
@throws runtime_error
|
|
*/
|
|
void
|
|
extractTarLz4(
|
|
boost::filesystem::path const& src,
|
|
boost::filesystem::path const& dst);
|
|
|
|
} // namespace xrpl
|
|
|
|
#endif
|