diff options
author | Steve Dibb <beandog@gentoo.org> | 2009-12-28 15:25:28 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2009-12-28 15:25:28 +0000 |
commit | b36a8e9b8eb306e27d7c2a9096d032a5a65f2218 (patch) | |
tree | 1087fb7d3284ce03b923e755120e599804d897eb /class.portage.package.php | |
parent | git-svn-id: file:///var/svn/portage@9 3218660a-b0cf-4799-a991-8ddcc5b9e0f3 (diff) | |
download | znurt-org-backend-b36a8e9b8eb306e27d7c2a9096d032a5a65f2218.tar.gz znurt-org-backend-b36a8e9b8eb306e27d7c2a9096d032a5a65f2218.tar.bz2 znurt-org-backend-b36a8e9b8eb306e27d7c2a9096d032a5a65f2218.zip |
mtime, ctime
git-svn-id: file:///var/svn/portage@10 3218660a-b0cf-4799-a991-8ddcc5b9e0f3
Diffstat (limited to 'class.portage.package.php')
-rw-r--r-- | class.portage.package.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/class.portage.package.php b/class.portage.package.php index c974949..653e0ab 100644 --- a/class.portage.package.php +++ b/class.portage.package.php @@ -12,6 +12,9 @@ private $metadata_filename; private $metadata_xml; + + private $mtime; + private $ctime; function __construct($category = null, $package = null) { @@ -61,6 +64,9 @@ $str = trim($str); $this->changelog = $str; } + + $this->mtime = filemtime($dir); + $this->ctime = filectime($dir); } |