struct Tar::Header

Defined in:

tar/header.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : Char, name : String, link_name : String, size : Int64, mode : Int64, uid : Int32, gid : Int32, username : String, group : String, modification_time : Time, access_time : Time, change_time : Time, dev_major : Int64, dev_minor : Int64, x_attrs : Hash(String, String), pax_records : Hash(String, String), format : Format) #

[View source]

Instance Method Detail

def access_time : Time #

def change_time : Time #

def clone #

[View source]
def copy_with(type _type = @type, name _name = @name, link_name _link_name = @link_name, size _size = @size, mode _mode = @mode, uid _uid = @uid, gid _gid = @gid, username _username = @username, group _group = @group, modification_time _modification_time = @modification_time, access_time _access_time = @access_time, change_time _change_time = @change_time, dev_major _dev_major = @dev_major, dev_minor _dev_minor = @dev_minor, x_attrs _x_attrs = @x_attrs, pax_records _pax_records = @pax_records, format _format = @format) #

[View source]
def dev_major : Int64 #

def dev_minor : Int64 #

def format : Format #

def gid : Int32 #

def group : String #

def link_name : String #

def mode : Int64 #

def modification_time : Time #

def name : String #

def pax_records : Hash(String, String) #

def size : Int64 #

def type : Char #

def uid : Int32 #

def username : String #

def x_attrs : Hash(String, String) #