improved metadata safety when sealing -- always needs to refresh
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include <archive_entry.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <metadata.hpp>
|
||||
|
||||
/**
|
||||
* @brief First phase of sealing a package stage directory
|
||||
@@ -57,12 +58,12 @@ int seal_final_package(const std::string &stage_dir, const std::string &output_d
|
||||
* Extracts a sealed package file back to its original stage directory structure
|
||||
* by expanding the gzipped tarballs.
|
||||
*
|
||||
* @param package_filepath Path to the sealed package file
|
||||
* @param package_path Path to the sealed package file
|
||||
* @param output_dir Path to extract the package stage to
|
||||
* @param force Whether to force the operation even if warnings occur
|
||||
* @return 0 on success, non-zero on failure
|
||||
*/
|
||||
int unseal_package(const std::string& package_filepath, const std::string& output_dir, bool force);
|
||||
int unseal_package(const std::string& package_path, const std::string& output_dir, bool force);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user