summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-10-14 15:02:58 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-10-19 11:01:20 +0000
commit3ff95539caf52255345f2029b34c9ae3873e20dd (patch)
treeffdfb2a98d7336b8c1210b5522a49b962e62d974
parent743a51b88f049fb4d888e4bb9f3910be4d8e3633 (diff)
downloadflatpak-3ff95539caf52255345f2029b34c9ae3873e20dd.tar.gz
transaction: Improve the docs
Explain that it is possible to install from a local repo by passing the location. Closes: #2245 Approved by: alexlarsson Closes: #2247 Approved by: alexlarsson
-rw-r--r--common/flatpak-transaction.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/flatpak-transaction.c b/common/flatpak-transaction.c
index 40fcd319..22175f36 100644
--- a/common/flatpak-transaction.c
+++ b/common/flatpak-transaction.c
@@ -1621,6 +1621,10 @@ flatpak_transaction_add_ref (FlatpakTransaction *self,
*
* Adds installing the given ref to this transaction.
*
+ * The @remote can either be a configured remote of the installation,
+ * or a file:// uri pointing at a local repository to install from,
+ * in which case an origin remote is created.
+ *
* Returns: %TRUE on success; %FALSE with @error set on failure.
*/
gboolean