Skip to content

Revise the RPackage::installedFiles() implementation#207

Open
amaa-99 wants to merge 1 commit into
mvo5:masterfrom
amaa-99:39-merge-revise-the-rpackageinstalledfiles-implementation
Open

Revise the RPackage::installedFiles() implementation#207
amaa-99 wants to merge 1 commit into
mvo5:masterfrom
amaa-99:39-merge-revise-the-rpackageinstalledfiles-implementation

Conversation

@amaa-99

@amaa-99 amaa-99 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Changed the implementation to return std::string instead of relying on a static variable for storage lifetime.
Avoided calling FileExists() twice in case the file was already found.
Added returning an informative message in case the list can't be retrieved.
Added skipping the insertion of empty lines instead of relying on a single empty line always being read from the input file. Removed the unused HAVE_RPM variant of RPackage::installedFiles().
(closes amaa-99#38)

@amaa-99 amaa-99 force-pushed the 39-merge-revise-the-rpackageinstalledfiles-implementation branch from 2243d65 to 710166e Compare July 3, 2026 11:06
Changed the implementation to return std::string instead of relying on a static variable for storage lifetime.
Avoided calling FileExists() twice in case the file was already found.
Added returning an informative message in case the list can't be retrieved.
Added skipping the insertion of empty lines instead of relying on a single empty line always being read from the input file.
Removed the unused HAVE_RPM variant of RPackage::installedFiles().
@amaa-99 amaa-99 force-pushed the 39-merge-revise-the-rpackageinstalledfiles-implementation branch from 710166e to 9847b30 Compare July 3, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Merge: Revise the include paths in the makefiles

1 participant