module TarClient

Overview

todo put in a separate library. it shold go under ./tools for now

Defined in:

tar.cr

Constant Summary

TAR_BIN_DIR = "/tmp/bin"
TAR_DOWNLOAD_DIR = "/tmp/download"
TAR_IMAGES_DIR = "/tmp/images"
TAR_MANIFEST_DIR = "/tmp/manifests"
TAR_MODIFY_DIR = "/tmp/modify_tar"
TAR_REPOSITORY_DIR = "/tmp/repositories"
TAR_TMP_BASE = "/tmp"

Class Method Summary

Class Method Detail

def self.append(tarball_name, working_directory, source_file_or_directory, options = "") #

[View source]
def self.modify_tar!(tar_file, &) #

modify_tar! << untars file, yields to block, retars, keep in tar module


[View source]
def self.tar(tarball_name, working_directory, source_file_or_directory, options = "") #

[View source]
def self.tar_file_by_url(url, append_file : String = "./downloaded.tar.gz", output_file = "") #

[View source]
def self.untar(tarball_name, destination_directory, options = "") #

[View source]