CARDS 2.4.87
Package manager for the NuTyX GNU/Linux distribution
Repodwl Class Reference
Inheritance diagram for Repodwl:
Pkgrepo Pkgrepo Pkginst Pkginst cards::CClient Cards_create Cards_install Cards_upgrade cards::CClient Cards_create Cards_install Cards_upgrade

Public Member Functions

 Repodwl (const char *fileName)
 
void downloadPortsPkgRepo (const std::string &packageName)
 
void downloadPackageFileName (const std::string &packageFileName)
 
bool checkBinaryExist (const std::string &packageName)
 
std::string getPackageFileName (const std::string &packageName)
 
std::string getPackageFileNameSignature (const std::string &packageName)
 
 Repodwl (const char *fileName)
 
void downloadPortsPkgRepo (const std::string &packageName)
 
void downloadPackageFileName (const std::string &packageFileName)
 
bool checkBinaryExist (const std::string &packageName)
 
std::string getPackageFileName (const std::string &packageName)
 
std::string getPackageFileNameSignature (const std::string &packageName)
 
- Public Member Functions inherited from Pkgrepo
 Pkgrepo (const std::string &fileName)
 
std::set< std::string > getListOutOfDate ()
 
std::string getPortDir (const std::string &portName)
 
std::string getBasePortName (const std::string &portName)
 
std::string getBasePackageName (const std::string &packageName)
 
std::string getBasePackageVersion (const std::string &packageName)
 
std::string getPortVersion (const std::string &portName)
 
int getBasePackageRelease (const std::string &packageName)
 
int getPortRelease (const std::string &portName)
 
bool checkPortExist (const std::string &portName)
 
std::set< std::string > getListOfPackagesFromCollection (const std::string &collectionName)
 
time_t getBinaryBuildTime (const std::string &portName)
 
std::set< std::string > getBinaryPackageList ()
 
std::set< Pkg * > getListOfPackages ()
 
std::vector< RepoInfogetRepoInfo ()
 
unsigned int getPortsList ()
 
bool getBinaryPackageInfo (const std::string &packageName)
 
bool getPortInfo (const std::string &portName)
 
 Pkgrepo (const std::string &fileName)
 
std::set< std::string > getListOutOfDate ()
 
std::string getPortDir (const std::string &portName)
 
std::string getBasePortName (const std::string &portName)
 
std::string getBasePackageName (const std::string &packageName)
 
std::string getBasePackageVersion (const std::string &packageName)
 
std::string getPortVersion (const std::string &portName)
 
int getBasePackageRelease (const std::string &packageName)
 
int getPortRelease (const std::string &portName)
 
bool checkPortExist (const std::string &portName)
 
std::set< std::string > getListOfPackagesFromCollection (const std::string &collectionName)
 
time_t getBinaryBuildTime (const std::string &portName)
 
std::set< std::string > getBinaryPackageList ()
 
std::set< Pkg * > getListOfPackages ()
 
std::vector< RepoInfogetRepoInfo ()
 
unsigned int getPortsList ()
 
bool getBinaryPackageInfo (const std::string &packageName)
 
bool getPortInfo (const std::string &portName)
 

Additional Inherited Members

- Static Public Member Functions inherited from Pkgrepo
static int parseConfig (const char *fileName, Config &config)
 
static int parseConfig (const char *fileName, Config &config)
 
- Protected Member Functions inherited from Pkgrepo
int parseConfig (const char *fileName)
 
void parsePkgRepoCollectionFile ()
 
void parseCollectionDirectory ()
 
void parseCurrentPackagePkgRepoFile ()
 
void parsePackagePkgfileFile ()
 
int parseConfig (const char *fileName)
 
void parsePkgRepoCollectionFile ()
 
void parseCollectionDirectory ()
 
void parseCurrentPackagePkgRepoFile ()
 
void parsePackagePkgfileFile ()
 
- Protected Attributes inherited from Pkgrepo
bool m_parsePkgRepoCollectionFile
 
bool m_parseCollectionDirectory
 
bool m_parsePackagePkgfileFile
 
std::vector< PortsDirectory >::iterator m_PortsDirectory_i
 
std::vector< BasePackageInfo >::iterator m_BasePackageInfo_i
 
std::vector< PortFilesList >::iterator m_PortFilesList_i
 
std::vector< PortFilesListm_portFilesList
 
std::string m_packageFileName
 
std::string m_packageFileNameSignature
 
std::string m_configFileName
 
Config m_config
 
std::vector< PortsDirectorym_portsDirectoryList
 

Member Function Documentation

◆ downloadPackageFileName() [1/2]

void Repodwl::downloadPackageFileName ( const std::string &  packageFileName)

download the packagefileName

Depends on: parsePkgRepoCollectionFile

populater: nothing

add: The packageFileName from the mirror

◆ downloadPackageFileName() [2/2]

void Repodwl::downloadPackageFileName ( const std::string &  packageFileName)

download the packagefileName

Depends on: parsePkgRepoCollectionFile

populater: nothing

add: The packageFileName from the mirror

◆ downloadPortsPkgRepo() [1/2]

void Repodwl::downloadPortsPkgRepo ( const std::string &  packageName)

download the .PKGREPO of packageName

Depends on: parsePkgRepoCollectionFile

populate: nothing

add: the .PKGREPO of the packageName port from the mirror

◆ downloadPortsPkgRepo() [2/2]

void Repodwl::downloadPortsPkgRepo ( const std::string &  packageName)

download the .PKGREPO of packageName

Depends on: parsePkgRepoCollectionFile

populate: nothing

add: the .PKGREPO of the packageName port from the mirror


The documentation for this class was generated from the following files: