Archive-Libarchive
view release on metacpan or search on metacpan
lib/Archive/Libarchive/API.pm view on Meta::CPAN
# archive_read_disk_open
my $int = $dr->disk_open($string);
=head2 disk_open_w
# archive_read_disk_open_w
my $int = $dr->disk_open_w($wstring);
=head2 disk_set_atime_restored
# archive_read_disk_set_atime_restored
my $int = $dr->disk_set_atime_restored;
=head2 disk_set_behavior
# archive_read_disk_set_behavior
my $int1 = $dr->disk_set_behavior($int2);
=head2 disk_set_standard_lookup
# archive_read_disk_set_standard_lookup
my $int = $dr->disk_set_standard_lookup;
=head2 disk_set_symlink_hybrid
# archive_read_disk_set_symlink_hybrid
my $int = $dr->disk_set_symlink_hybrid;
=head2 disk_set_symlink_logical
# archive_read_disk_set_symlink_logical
my $int = $dr->disk_set_symlink_logical;
=head2 disk_set_symlink_physical
# archive_read_disk_set_symlink_physical
my $int = $dr->disk_set_symlink_physical;
=head2 disk_uname
# archive_read_disk_uname
my $string = $dr->disk_uname($sint64);
=head2 new
my $dr = Archive::Libarchive::DiskRead->new;
Create a new disk read object.
=head1 Archive::Libarchive::DiskWrite
=over 4
=item Main documentation and examples: L<Archive::Libarchive::DiskWrite>
=item Parent class: L<Archive::Libarchive::ArchiveWrite>
=back
=head2 disk_gid
# archive_write_disk_gid
my $sint64_1 = $dw->disk_gid($string, $sint64_2);
=head2 disk_set_options
# archive_write_disk_set_options
my $int1 = $dw->disk_set_options($int2);
=head2 disk_set_skip_file
# archive_write_disk_set_skip_file
my $int = $dw->disk_set_skip_file($sint64_1, $sint64_2);
=head2 disk_set_standard_lookup
# archive_write_disk_set_standard_lookup
my $int = $dw->disk_set_standard_lookup;
=head2 disk_uid
# archive_write_disk_uid
my $sint64_1 = $dw->disk_uid($string, $sint64_2);
=head2 new
# archive_write_disk_new
my $dw = Archive::Libarchive::DiskWrite->new;
Create a new disk write object.
=head2 write_data_block
# archive_write_data_block
my $ssize_t = $dw->write_data_block(\$buffer, $offset);
Write the entry content data to the disk. This is intended to be used with L<Archive::Libarchive::ArchiveRead/read_data_block>.
=head1 Archive::Libarchive::Entry
=over 4
=item Main documentation and examples: L<Archive::Libarchive::Entry>
=back
=head2 acl_add_entry
# archive_entry_acl_add_entry
my $int1 = $e->acl_add_entry($int2, $int3, $int4, $int5, $string);
=head2 acl_add_entry_w
# archive_entry_acl_add_entry_w
my $int1 = $e->acl_add_entry_w($int2, $int3, $int4, $int5, $wstring);
=head2 acl_clear
# archive_entry_acl_clear
$e->acl_clear;
=head2 acl_count
lib/Archive/Libarchive/API.pm view on Meta::CPAN
=head2 ctime_nsec
# archive_entry_ctime_nsec
my $long = $e->ctime_nsec;
=head2 dev
# archive_entry_dev
my $dev_t = $e->dev;
=head2 dev_is_set
# archive_entry_dev_is_set
my $int = $e->dev_is_set;
=head2 devmajor
# archive_entry_devmajor
my $dev_t = $e->devmajor;
=head2 devminor
# archive_entry_devminor
my $dev_t = $e->devminor;
=head2 digest
# archive_entry_digest
my $string = $e->digest($type);
This is used to query the raw hex digest for the given entry. The type of digest is
provided as an argument. The type may be passed in as either a string or an integer
constant. The constant prefix is C<ARCHIVE_ENTRY_DIGEST_>. So for an MD5 digest
you could pass in either C<'md5'> or C<ARCHIVE_ENTRY_DIGEST_MD5>.
=head2 fflags
# archive_entry_fflags
$e->fflags($ulong*1, $ulong*2);
=head2 fflags_text
# archive_entry_fflags_text
my $string = $e->fflags_text;
=head2 filetype
# archive_entry_filetype
my $code = $e->filetype;
This returns the type of file for the entry. This will be a dualvar where the string
is one of C<mt>, C<reg>, C<lnx>, C<sock>, C<chr>, C<blk>, C<dir> or C<ifo>, and
integer values will match the corresponding C<AE_IF> prefixed constant. See
L<Archive::Libarchive::API/CONSTANTS> for the full list.
=head2 filetype_is_set
# archive_entry_filetype_is_set (optional)
my $int = $e->filetype_is_set;
=head2 gid
# archive_entry_gid
my $sint64 = $e->gid;
=head2 gid_is_set
# archive_entry_gid_is_set (optional)
my $int = $e->gid_is_set;
=head2 gname
# archive_entry_gname
my $string = $e->gname;
=head2 gname_utf8
# archive_entry_gname_utf8
my $string_utf8 = $e->gname_utf8;
=head2 hardlink
# archive_entry_hardlink
my $string = $e->hardlink;
=head2 hardlink_utf8
# archive_entry_hardlink_utf8
my $string_utf8 = $e->hardlink_utf8;
=head2 ino
# archive_entry_ino
my $sint64 = $e->ino;
=head2 ino64
# archive_entry_ino64
my $sint64 = $e->ino64;
=head2 ino_is_set
# archive_entry_ino_is_set
my $int = $e->ino_is_set;
=head2 is_data_encrypted
# archive_entry_is_data_encrypted
my $int = $e->is_data_encrypted;
=head2 is_encrypted
# archive_entry_is_encrypted
my $int = $e->is_encrypted;
=head2 is_metadata_encrypted
# archive_entry_is_metadata_encrypted
my $int = $e->is_metadata_encrypted;
=head2 mac_metadata
# archive_entry_mac_metadata
my $meta = $e->mac_metadata;
Get the mac metadata from the entry.
=head2 mode
lib/Archive/Libarchive/API.pm view on Meta::CPAN
=head2 rdev
# archive_entry_rdev
my $dev_t = $e->rdev;
=head2 rdevmajor
# archive_entry_rdevmajor
my $dev_t = $e->rdevmajor;
=head2 rdevminor
# archive_entry_rdevminor
my $dev_t = $e->rdevminor;
=head2 set_atime
# archive_entry_set_atime
$e->set_atime($time_t, $long);
=head2 set_birthtime
# archive_entry_set_birthtime
$e->set_birthtime($time_t, $long);
=head2 set_ctime
# archive_entry_set_ctime
$e->set_ctime($time_t, $long);
=head2 set_dev
# archive_entry_set_dev
$e->set_dev($dev_t);
=head2 set_devmajor
# archive_entry_set_devmajor
$e->set_devmajor($dev_t);
=head2 set_devminor
# archive_entry_set_devminor
$e->set_devminor($dev_t);
=head2 set_fflags
# archive_entry_set_fflags
$e->set_fflags($ulong1, $ulong2);
=head2 set_filetype
# archive_entry_set_filetype
$e->set_filetype($code);
This sets the type of the file for the entry. This will accept either a string value
which is one of C<mt>, C<reg>, C<lnx>, C<sock>, C<chr>, C<blk>, C<dir> or C<ifo>,
or an integer constant value with the C<AE_IF> prefix. See
L<Archive::Libarchive::API/CONSTANTS> for the full list.
=head2 set_gid
# archive_entry_set_gid
$e->set_gid($sint64);
=head2 set_gname
# archive_entry_set_gname
$e->set_gname($string);
=head2 set_gname_utf8
# archive_entry_set_gname_utf8
$e->set_gname_utf8($string);
=head2 set_hardlink
# archive_entry_set_hardlink
$e->set_hardlink($string);
=head2 set_hardlink_utf8
# archive_entry_set_hardlink_utf8
$e->set_hardlink_utf8($string);
=head2 set_ino
# archive_entry_set_ino
$e->set_ino($sint64);
=head2 set_ino64
# archive_entry_set_ino64
$e->set_ino64($sint64);
=head2 set_is_data_encrypted
# archive_entry_set_is_data_encrypted
$e->set_is_data_encrypted($char);
=head2 set_is_metadata_encrypted
# archive_entry_set_is_metadata_encrypted
$e->set_is_metadata_encrypted($char);
=head2 set_link
# archive_entry_set_link
$e->set_link($string);
=head2 set_link_utf8
# archive_entry_set_link_utf8
$e->set_link_utf8($string);
=head2 set_mode
# archive_entry_set_mode
$e->set_mode($mode_t);
=head2 set_mtime
# archive_entry_set_mtime
$e->set_mtime($time_t, $long);
lib/Archive/Libarchive/API.pm view on Meta::CPAN
=head1 Archive::Libarchive::Match
=over 4
=item Main documentation and examples: L<Archive::Libarchive::Match>
=item Parent class: L<Archive::Libarchive::Archive>
=back
=head2 exclude_entry
# archive_match_exclude_entry
my $int1 = $m->exclude_entry($int2, $e);
=head2 exclude_pattern
# archive_match_exclude_pattern
my $int = $m->exclude_pattern($string);
=head2 exclude_pattern_from_file
# archive_match_exclude_pattern_from_file
my $int1 = $m->exclude_pattern_from_file($string, $int2);
=head2 exclude_pattern_from_file_w
# archive_match_exclude_pattern_from_file_w
my $int1 = $m->exclude_pattern_from_file_w($wstring, $int2);
=head2 exclude_pattern_w
# archive_match_exclude_pattern_w
my $int = $m->exclude_pattern_w($wstring);
=head2 excluded
# archive_match_excluded
my $int = $m->excluded($e);
=head2 include_date
# archive_match_include_date
my $int1 = $m->include_date($int2, $string);
=head2 include_date_w
# archive_match_include_date_w
my $int1 = $m->include_date_w($int2, $wstring);
=head2 include_file_time
# archive_match_include_file_time
my $int1 = $m->include_file_time($int2, $string);
=head2 include_file_time_w
# archive_match_include_file_time_w
my $int1 = $m->include_file_time_w($int2, $wstring);
=head2 include_gid
# archive_match_include_gid
my $int = $m->include_gid($sint64);
=head2 include_gname
# archive_match_include_gname
my $int = $m->include_gname($string);
=head2 include_gname_w
# archive_match_include_gname_w
my $int = $m->include_gname_w($wstring);
=head2 include_pattern
# archive_match_include_pattern
my $int = $m->include_pattern($string);
=head2 include_pattern_from_file
# archive_match_include_pattern_from_file
my $int1 = $m->include_pattern_from_file($string, $int2);
=head2 include_pattern_from_file_w
# archive_match_include_pattern_from_file_w
my $int1 = $m->include_pattern_from_file_w($wstring, $int2);
=head2 include_pattern_w
# archive_match_include_pattern_w
my $int = $m->include_pattern_w($wstring);
=head2 include_time
# archive_match_include_time
my $int1 = $m->include_time($int2, $time_t, $long);
=head2 include_uid
# archive_match_include_uid
my $int = $m->include_uid($sint64);
=head2 include_uname
# archive_match_include_uname
my $int = $m->include_uname($string);
=head2 include_uname_w
# archive_match_include_uname_w
my $int = $m->include_uname_w($wstring);
=head2 new
my $r = Archive::Libarchive::Match->new;
Create a new archive match object.
=head2 owner_excluded
# archive_match_owner_excluded
( run in 2.084 seconds using v1.01-cache-2.11-cpan-ceb78f64989 )