mirror of
https://github.com/flatpak/flatpak.git
synced 2026-02-01 11:31:21 -05:00
installation: Clarify that SDKs aren't considered used
The docs claimed that SDK runtimes are considered used even if there is no app using them or runtime for which they are the SDK, but the implementation does not match that. We could change the implementation to always consider SDK runtimes used, but that would be problematic because some apps use an SDK as their runtime, and in that case the runtime would persist forever after the app is uninstalled, instead of eventually being garbage collected by the subsequent commits to this one.
This commit is contained in:
committed by
Alexander Larsson
parent
47c88706e0
commit
a70b7a7628
@@ -2924,8 +2924,8 @@ find_used_refs (FlatpakDir *dir,
|
||||
*
|
||||
* Lists the installed references that are not 'used'.
|
||||
*
|
||||
* A reference is used if it is either an application, or an sdk,
|
||||
* or the runtime of a used ref, or an extension of a used ref.
|
||||
* A reference is used if it is either an application,
|
||||
* or the runtime or sdk of a used ref, or an extension of a used ref.
|
||||
* Pinned runtimes are also considered used; see flatpak-pin(1) and
|
||||
* flatpak_installation_list_pinned_refs().
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user