IBR-DTNSuite
0.12
|
#include <TarUtils.h>
Public Member Functions | |
TarUtils () | |
virtual | ~TarUtils () |
Static Public Member Functions | |
static void | write (std::ostream &output, const io::ObservedFile &root, const std::set< ObservedFile > &files_to_send) |
static void | read (const ibrcommon::File &extract_folder, std::istream &input) |
Definition at line 33 of file TarUtils.h.
io::TarUtils::TarUtils | ( | ) |
Definition at line 46 of file TarUtils.cpp.
|
virtual |
Definition at line 49 of file TarUtils.cpp.
|
static |
Definition at line 88 of file TarUtils.cpp.
References io::__tar_utils_close_callback(), io::__tar_utils_open_callback(), io::__tar_utils_read_callback(), ibrcommon::File::createDirectory(), ibrcommon::File::get(), ibrcommon::File::getParent(), and ibrcommon::File::getPath().
Referenced by main().
|
static |
write tar archive to payload block, FATFile version
Definition at line 115 of file TarUtils.cpp.
References io::__tar_utils_close_callback(), io::__tar_utils_open_callback(), io::__tar_utils_write_callback(), BUFF_SIZE, ibrcommon::LogLevel::error, io::ObservedFile::getFile(), ibrcommon::File::getPath(), io::FATFile::getReader(), IBRCOMMON_LOGGER_ENDL, IBRCOMMON_LOGGER_TAG, ibrcommon::File::isDirectory(), io::FatImageReader::open(), io::FatImageReader::FileHandle::read(), ibrcommon::File::size(), and ibrcommon::Exception::what().
Referenced by main().