Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.69.17.151
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
x86_64-linux-gnu /
perl5 /
5.34 /
AptPkg /
[ HOME SHELL ]
Name
Size
Permission
Action
Cache.pm
13.13
KB
-rw-r--r--
Config.pm
1.87
KB
-rw-r--r--
Config.pod
4.88
KB
-rw-r--r--
PkgRecords.pm
2.22
KB
-rw-r--r--
Policy.pm
1.19
KB
-rw-r--r--
Source.pm
3.94
KB
-rw-r--r--
System.pm
1.48
KB
-rw-r--r--
Version.pm
2.22
KB
-rw-r--r--
hash.pm
4.07
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Policy.pm
package AptPkg::Policy; require 5.005_62; use strict; use warnings; use AptPkg; our $VERSION = 1.1; sub priority { my ($self, $arg) = @_; my $xs = $$self; $xs->GetPriority($arg->_xs); } sub candidate { my ($self, $pkg) = @_; my $xs = $$self; my $ver = $xs->GetCandidateVer($pkg->_xs) or return; AptPkg::Cache::Version->new($ver); } 1; __END__ =head1 NAME AptPkg::Policy - APT package version policy class =head1 SYNOPSIS use AptPkg::Policy; =head1 DESCRIPTION The AptPkg::Policy module provides an interface to B<APT>'s package version policy. =head2 AptPkg::Policy The AptPkg::Policy package implements the B<APT> pkgPolicy class. An instance of the AptPkg::Policy class may be fetched using the C<policy> method from an AptPkg::Cache object. The following methods are implemented: =over 4 =item priority(I<VER>|I<FILE>) Return the pin priority for the given I<VER> (AptPkg::Cache::Version) or I<FILE> (AptPkg::Cache::PkgFile) object. =item candidate(I<PKG>) Returns the installation candidate version for I<PKG>. Returns an AptPkg::Cache::Version object. =back =head1 SEE ALSO AptPkg::Cache(3pm), AptPkg(3pm). =head1 AUTHOR Brendan O'Dea <bod@debian.org> =cut
Close