zypp::parser::plaindir Namespace Reference


Classes

class  RepoParser
 Plaindir metadata parser. More...

Functions

static time_t recursive_timestamp (const Pathname &dir)
RepoStatus dirStatus (const Pathname &dir)
data::Package_Ptr makePackageDataFromHeader (const RpmHeader::constPtr header, set< string > *filerequires, const Pathname &location, data::RecordId &repoid)


Function Documentation

static time_t zypp::parser::plaindir::recursive_timestamp ( const Pathname &  dir  )  [static]

Definition at line 39 of file RepoParser.cc.

References ERR, and zypp::filesystem::readdir().

Referenced by dirStatus().

RepoStatus zypp::parser::plaindir::dirStatus ( const Pathname &  dir  ) 

Gives a cookie for a dir

Definition at line 64 of file RepoParser.cc.

References zypp::str::numstring(), recursive_timestamp(), zypp::RepoStatus::setChecksum(), and zypp::RepoStatus::setTimestamp().

Referenced by zypp::RepoManager::checkIfToRefreshMetadata(), and zypp::RepoManager::refreshMetadata().

data::Package_Ptr zypp::parser::plaindir::makePackageDataFromHeader ( const RpmHeader::constPtr  header,
set< string > *  filerequires,
const Pathname &  location,
data::RecordId &  repoid 
)

Definition at line 73 of file RepoParser.cc.

References zypp::capability::buildFile(), zypp::Dep::CONFLICTS, zypp::Dep::ENHANCES, zypp::capability::isInterestingFileSpec(), zypp::Dep::OBSOLETES, zypp::Dep::PREREQUIRES, zypp::Dep::PROVIDES, zypp::Dep::REQUIRES, zypp::Dep::SUPPLEMENTS, WAR, and ZYPP_CAUGHT.


Generated on Tue Sep 25 19:23:22 2007 for libzypp by  doxygen 1.5.3