Expand description
File list resolution and diff computation for preflight checks.
Enums§
- Pkgbuild
Source Kind - What: Source kind for PKGBUILD files.
Functions§
- batch_
get_ remote_ file_ lists - What: Batch fetch remote file lists for multiple official packages using
pacman -Fl. - ensure_
file_ db_ synced - What: Attempt a best-effort synchronization of the pacman file database.
- fetch_
pkgbuild_ sync - What: Fetch PKGBUILD content synchronously (blocking).
- fetch_
srcinfo_ sync - What: Fetch .SRCINFO content synchronously (blocking).
- flush_
pkgbuild_ cache - What: Persist the PKGBUILD parse cache to disk when dirty.
- get_
backup_ files - What: Identify files marked for backup handling during install or removal operations.
- get_
backup_ files_ from_ installed - What: Collect backup file entries for an installed package through
pacman -Qii. - get_
file_ db_ sync_ info - What: Summarize sync database staleness with age, formatted date, and UI color bucket.
- get_
file_ db_ sync_ timestamp - What: Retrieve the most recent modification timestamp of the pacman sync database.
- get_
installed_ file_ list - What: Retrieve the list of files currently installed for a package.
- get_
pkgbuild_ from_ cache - What: Get PKGBUILD from yay/paru cache (offline method).
- get_
remote_ file_ list - What: Fetch the list of files published in repositories for a given package.
- is_
file_ db_ stale - What: Check if the pacman file database is stale and needs syncing.
- parse_
backup_ array_ content - What: Parse backup array content (handles quoted strings).
- parse_
backup_ from_ pkgbuild - What: Parse backup array from PKGBUILD content.
- parse_
backup_ from_ srcinfo - What: Parse backup array from .SRCINFO content.
- parse_
install_ paths_ from_ pkgbuild - What: Parse install paths from PKGBUILD content.
- parse_
pkgbuild_ cached - What: Parse PKGBUILD data while leveraging a disk-backed LRU cache.
- resolve_
file_ changes - What: Determine file-level changes for a set of packages under a specific preflight action.
- resolve_
install_ files - What: Determine new and changed files introduced by installing or upgrading a package.
- resolve_
install_ files_ with_ remote_ list - What: Determine new and changed files using a pre-fetched remote file list.
- resolve_
package_ files - What: Dispatch to the correct file resolution routine based on preflight action.
- resolve_
remove_ files - What: Enumerate files that would be removed when uninstalling a package.