mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-28 17:41:14 -05:00
lib: Document that flatpak_installation_update_fulls throws if up to date
This is not the ideal outcome, but it does avoid breaking behaviour stability across versions. Fixes #1336 Closes: #1337 Approved by: alexlarsson
This commit is contained in:
committed by
Atomic Bot
parent
41399b2e6b
commit
31bd2912e1
@@ -1524,7 +1524,13 @@ flatpak_installation_install (FlatpakInstallation *self,
|
||||
*
|
||||
* Update an application or runtime.
|
||||
*
|
||||
* Returns: (transfer full): The ref for the newly updated app (or the same if no update) or %NULL on failure
|
||||
* If the specified package is not installed, then %FLATPAK_ERROR_NOT_INSTALLED
|
||||
* will be thrown.
|
||||
*
|
||||
* If no updates could be found on the remote end and the package is
|
||||
* already up to date, then %FLATPAK_ERROR_ALREADY_INSTALLED will be thrown.
|
||||
*
|
||||
* Returns: (transfer full): The ref for the newly updated app or %NULL on failure
|
||||
*/
|
||||
FlatpakInstalledRef *
|
||||
flatpak_installation_update_full (FlatpakInstallation *self,
|
||||
@@ -1629,7 +1635,13 @@ out:
|
||||
*
|
||||
* Update an application or runtime.
|
||||
*
|
||||
* Returns: (transfer full): The ref for the newly updated app (or the same if no update) or %NULL on failure
|
||||
* If the specified package is not installed, then %FLATPAK_ERROR_NOT_INSTALLED
|
||||
* will be thrown.
|
||||
*
|
||||
* If no updates could be found on the remote end and the package is
|
||||
* already up to date, then %FLATPAK_ERROR_ALREADY_INSTALLED will be thrown.
|
||||
*
|
||||
* Returns: (transfer full): The ref for the newly updated app or %NULL on failure
|
||||
*/
|
||||
FlatpakInstalledRef *
|
||||
flatpak_installation_update (FlatpakInstallation *self,
|
||||
|
||||
Reference in New Issue
Block a user