Module files

Module files 

Source
Expand description

File list resolution and diff computation for preflight checks.

Enums§

PkgbuildSourceKind
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.