|
Librepo library 1.20.0
C library for downloading linux repository metadata and packages
|
Functions | |
| gboolean | lr_repoutil_yum_check_repo (const char *path, GError **err) |
| gboolean | lr_repoutil_yum_parse_repomd (const char *path, LrYumRepoMd *repomd, GError **err) |
| double | lr_yum_repomd_get_age (LrResult *result) |
| gboolean lr_repoutil_yum_check_repo | ( | const char * | path, |
| GError ** | err ) |
Check checksum of selected repository.
| path | Path to directory containing "repodata" subdir. |
| err | GError ** |
| gboolean lr_repoutil_yum_parse_repomd | ( | const char * | path, |
| LrYumRepoMd * | repomd, | ||
| GError ** | err ) |
Parse repomd.xml file.
| path | Path to repository or to the repomd file |
| repomd | Empty repomd object |
| err | GError ** |
| double lr_yum_repomd_get_age | ( | LrResult * | result | ) |
Return age of the repomd.xml (based on mtime of the file and the current time)
| result | Result object |