17 #ifndef __COMMON_COMMAND_UTILS_HPP__ 18 #define __COMMON_COMMAND_UTILS_HPP__ 94 #endif // __COMMON_COMMAND_UTILS_HPP__ process::Future< Nothing > gzip(const Path &input)
Compresses the given input file in GZIP format.
process::Future< std::string > sha512(const Path &input)
Computes SHA 512 checksum of a file.
process::Future< Nothing > untar(const Path &input, const Option< Path > &directory=None())
Untar(unarchive) the given file.
process::Future< Nothing > tar(const Path &input, const Path &output, const Option< Path > &directory=None(), const Option< Compression > &compression=None())
Tar(archive) the file/directory to produce output file.
Represents a POSIX or Windows file system path and offers common path manipulations.
Definition: path.hpp:212
Compression
Definition: command_utils.hpp:29
process::Future< Nothing > decompress(const Path &input)
Decompresses given input file based on its compression format.
Definition: attributes.hpp:24