lib/transaction_files.c: collect file installs/removals to correctly find obsoletes

This commit is contained in:
Duncaen
2019-06-16 17:38:38 +02:00
committed by Duncan Overbruck
parent 91e428d54d
commit 29f1433afd
6 changed files with 474 additions and 0 deletions

View File

@ -156,5 +156,10 @@ xbps_array_t HIDDEN xbps_get_pkg_fulldeptree(struct xbps_handle *,
struct xbps_repo HIDDEN *xbps_regget_repo(struct xbps_handle *,
const char *);
int HIDDEN xbps_conf_init(struct xbps_handle *);
int HIDDEN xbps_transaction_files(struct xbps_handle *,
xbps_object_iterator_t);
bool HIDDEN
xbps_transaction_is_file_obsolete(struct xbps_handle *,
const char *);
#endif /* !_XBPS_API_IMPL_H_ */