lib/transaction_files.c: collect file installs/removals to correctly find obsoletes
This commit is contained in:
committed by
Duncan Overbruck
parent
91e428d54d
commit
29f1433afd
@ -295,11 +295,13 @@ typedef enum xbps_state {
|
||||
XBPS_STATE_UNKNOWN = 0,
|
||||
XBPS_STATE_TRANS_DOWNLOAD,
|
||||
XBPS_STATE_TRANS_VERIFY,
|
||||
XBPS_STATE_TRANS_FILES,
|
||||
XBPS_STATE_TRANS_RUN,
|
||||
XBPS_STATE_TRANS_CONFIGURE,
|
||||
XBPS_STATE_TRANS_FAIL,
|
||||
XBPS_STATE_DOWNLOAD,
|
||||
XBPS_STATE_VERIFY,
|
||||
XBPS_STATE_FILES,
|
||||
XBPS_STATE_REMOVE,
|
||||
XBPS_STATE_REMOVE_DONE,
|
||||
XBPS_STATE_REMOVE_FILE,
|
||||
@ -316,6 +318,7 @@ typedef enum xbps_state {
|
||||
XBPS_STATE_CONFIG_FILE,
|
||||
XBPS_STATE_REPOSYNC,
|
||||
XBPS_STATE_VERIFY_FAIL,
|
||||
XBPS_STATE_FILES_FAIL,
|
||||
XBPS_STATE_DOWNLOAD_FAIL,
|
||||
XBPS_STATE_REMOVE_FAIL,
|
||||
XBPS_STATE_REMOVE_FILE_FAIL,
|
||||
|
@ -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_ */
|
||||
|
Reference in New Issue
Block a user