This file is indexed.

/usr/share/gir-1.0/Flatpak-1.0.gir is in libflatpak-dev 0.11.3-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="GObject" version="2.0"/>
  <include name="Gio" version="2.0"/>
  <package name="flatpak"/>
  <c:include name="flatpak.h"/>
  <namespace name="Flatpak"
             version="1.0"
             shared-library="libflatpak.so.0"
             c:identifier-prefixes="Flatpak"
             c:symbol-prefixes="flatpak">
    <class name="BundleRef"
           c:symbol-prefix="bundle_ref"
           c:type="FlatpakBundleRef"
           parent="Ref"
           glib:type-name="FlatpakBundleRef"
           glib:get-type="flatpak_bundle_ref_get_type"
           glib:type-struct="BundleRefClass">
      <constructor name="new" c:identifier="flatpak_bundle_ref_new" throws="1">
        <doc xml:space="preserve">Creates a new bundle ref for the given file.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new bundle ref.</doc>
          <type name="BundleRef" c:type="FlatpakBundleRef*"/>
        </return-value>
        <parameters>
          <parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve">a #GFile</doc>
            <type name="Gio.File" c:type="GFile*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="get_appstream"
              c:identifier="flatpak_bundle_ref_get_appstream">
        <doc xml:space="preserve">Get the compressed appstream for the app/runtime</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">an #GBytes with the appstream contents, or %NULL</doc>
          <type name="GLib.Bytes" c:type="GBytes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakBundleRef</doc>
            <type name="BundleRef" c:type="FlatpakBundleRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_file" c:identifier="flatpak_bundle_ref_get_file">
        <doc xml:space="preserve">Get the file this bundle is stored in.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">an #GFile</doc>
          <type name="Gio.File" c:type="GFile*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakBundleRef</doc>
            <type name="BundleRef" c:type="FlatpakBundleRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_icon" c:identifier="flatpak_bundle_ref_get_icon">
        <doc xml:space="preserve">Get the icon png data for the app/runtime</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">an #GBytes with png contents</doc>
          <type name="GLib.Bytes" c:type="GBytes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakBundleRef</doc>
            <type name="BundleRef" c:type="FlatpakBundleRef*"/>
          </instance-parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">64 or 128</doc>
            <type name="gint" c:type="int"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_installed_size"
              c:identifier="flatpak_bundle_ref_get_installed_size">
        <doc xml:space="preserve">Returns the installed size for the bundle.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the installed size</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a FlatpakBundleRef</doc>
            <type name="BundleRef" c:type="FlatpakBundleRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_metadata"
              c:identifier="flatpak_bundle_ref_get_metadata">
        <doc xml:space="preserve">Get the metadata for the app/runtime</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">an #GBytes with the metadata contents, or %NULL</doc>
          <type name="GLib.Bytes" c:type="GBytes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakBundleRef</doc>
            <type name="BundleRef" c:type="FlatpakBundleRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_origin" c:identifier="flatpak_bundle_ref_get_origin">
        <doc xml:space="preserve">Get the origin url stored in the bundle</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">an url string, or %NULL</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakBundleRef</doc>
            <type name="BundleRef" c:type="FlatpakBundleRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_runtime_repo_url"
              c:identifier="flatpak_bundle_ref_get_runtime_repo_url">
        <return-value transfer-ownership="full">
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="BundleRef" c:type="FlatpakBundleRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="file" writable="1" transfer-ownership="none">
        <type name="Gio.File"/>
      </property>
      <field name="parent">
        <type name="Ref" c:type="FlatpakRef"/>
      </field>
    </class>
    <record name="BundleRefClass"
            c:type="FlatpakBundleRefClass"
            glib:is-gtype-struct-for="BundleRef">
      <field name="parent_class">
        <type name="RefClass" c:type="FlatpakRefClass"/>
      </field>
    </record>
    <enumeration name="Error"
                 glib:type-name="FlatpakError"
                 glib:get-type="flatpak_error_get_type"
                 c:type="FlatpakError"
                 glib:error-domain="flatpak-error-quark">
      <doc xml:space="preserve">Error codes for library functions.</doc>
      <member name="already_installed"
              value="0"
              c:identifier="FLATPAK_ERROR_ALREADY_INSTALLED"
              glib:nick="already-installed">
        <doc xml:space="preserve">App/runtime is already installed</doc>
      </member>
      <member name="not_installed"
              value="1"
              c:identifier="FLATPAK_ERROR_NOT_INSTALLED"
              glib:nick="not-installed">
        <doc xml:space="preserve">App/runtime is not installed</doc>
      </member>
      <member name="only_pulled"
              value="2"
              c:identifier="FLATPAK_ERROR_ONLY_PULLED"
              glib:nick="only-pulled">
        <doc xml:space="preserve">App/runtime was only pulled into the local
                            repository but not installed.</doc>
      </member>
      <function name="quark" c:identifier="flatpak_error_quark">
        <return-value transfer-ownership="none">
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
      </function>
    </enumeration>
    <bitfield name="InstallFlags"
              glib:type-name="FlatpakInstallFlags"
              glib:get-type="flatpak_install_flags_get_type"
              c:type="FlatpakInstallFlags">
      <doc xml:space="preserve">Flags to alter the behavior of flatpak_installation_install_full().</doc>
      <member name="none"
              value="0"
              c:identifier="FLATPAK_INSTALL_FLAGS_NONE"
              glib:nick="none">
        <doc xml:space="preserve">Default</doc>
      </member>
      <member name="no_static_deltas"
              value="1"
              c:identifier="FLATPAK_INSTALL_FLAGS_NO_STATIC_DELTAS"
              glib:nick="no-static-deltas">
      </member>
      <member name="no_deploy"
              value="4"
              c:identifier="FLATPAK_INSTALL_FLAGS_NO_DEPLOY"
              glib:nick="no-deploy">
      </member>
      <member name="no_pull"
              value="8"
              c:identifier="FLATPAK_INSTALL_FLAGS_NO_PULL"
              glib:nick="no-pull">
      </member>
    </bitfield>
    <class name="Installation"
           c:symbol-prefix="installation"
           c:type="FlatpakInstallation"
           parent="GObject.Object"
           glib:type-name="FlatpakInstallation"
           glib:get-type="flatpak_installation_get_type"
           glib:type-struct="InstallationClass">
      <constructor name="new_for_path"
                   c:identifier="flatpak_installation_new_for_path"
                   throws="1">
        <doc xml:space="preserve">Creates a new #FlatpakInstallation for the installation at the given @path.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #FlatpakInstallation</doc>
          <type name="Installation" c:type="FlatpakInstallation*"/>
        </return-value>
        <parameters>
          <parameter name="path" transfer-ownership="none">
            <doc xml:space="preserve">a #GFile</doc>
            <type name="Gio.File" c:type="GFile*"/>
          </parameter>
          <parameter name="user" transfer-ownership="none">
            <doc xml:space="preserve">whether this is a user-specific location</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_system"
                   c:identifier="flatpak_installation_new_system"
                   throws="1">
        <doc xml:space="preserve">Creates a new #FlatpakInstallation for the system-wide installation.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #FlatpakInstallation</doc>
          <type name="Installation" c:type="FlatpakInstallation*"/>
        </return-value>
        <parameters>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_system_with_id"
                   c:identifier="flatpak_installation_new_system_with_id"
                   version="0.8"
                   throws="1">
        <doc xml:space="preserve">Creates a new #FlatpakInstallation for the system-wide installation @id.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #FlatpakInstallation</doc>
          <type name="Installation" c:type="FlatpakInstallation*"/>
        </return-value>
        <parameters>
          <parameter name="id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the ID of the system-wide installation</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_user"
                   c:identifier="flatpak_installation_new_user"
                   throws="1">
        <doc xml:space="preserve">Creates a new #FlatpakInstallation for the per-user installation.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #FlatpakInstallation</doc>
          <type name="Installation" c:type="FlatpakInstallation*"/>
        </return-value>
        <parameters>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="cleanup_local_refs_sync"
              c:identifier="flatpak_installation_cleanup_local_refs_sync"
              version="0.10.0"
              throws="1">
        <doc xml:space="preserve">Remove all OSTree refs from the local flatpak repository which are not
in a deployed state. The next time the underlying OSTree repo is pruned,
objects which were attached to that ref will be removed. This is useful if
you pulled a flatpak refs using flatpak_installation_install_full() and
specified %FLATPAK_INSTALL_FLAGS_NO_DEPLOY but then decided not to
deploy the refs later on and want to remove the local refs to prevent them
from taking up disk space. Note that this will not remove the objects
referred to by @ref from the underlying OSTree repo, you should use
flatpak_installation_prune_local_repo() to do that.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="create_monitor"
              c:identifier="flatpak_installation_create_monitor"
              throws="1">
        <doc xml:space="preserve">Gets monitor object for the installation. The returned file monitor will
emit the #GFileMonitor::changed signal whenever an application or runtime
was installed, uninstalled or updated.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GFileMonitor instance, or %NULL on error</doc>
          <type name="Gio.FileMonitor" c:type="GFileMonitor*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="drop_caches"
              c:identifier="flatpak_installation_drop_caches"
              throws="1">
        <doc xml:space="preserve">Drops all internal (in-memory) caches. For instance, this may be needed to pick up new or changed
remotes configured outside this installation instance.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success, %FALSE on error</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="fetch_remote_metadata_sync"
              c:identifier="flatpak_installation_fetch_remote_metadata_sync"
              throws="1">
        <doc xml:space="preserve">Obtains the metadata file from a commit.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GBytes containing the flatpak metadata file,
  or %NULL if an error occurred</doc>
          <type name="GLib.Bytes" c:type="GBytes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="remote_name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the remote</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="ref" transfer-ownership="none">
            <doc xml:space="preserve">the ref</doc>
            <type name="Ref" c:type="FlatpakRef*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="fetch_remote_ref_sync"
              c:identifier="flatpak_installation_fetch_remote_ref_sync"
              throws="1">
        <doc xml:space="preserve">Gets the current remote branch of a ref in the remote.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #FlatpakRemoteRef instance, or %NULL</doc>
          <type name="RemoteRef" c:type="FlatpakRemoteRef*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="remote_name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the remote</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve">what this ref contains (an #FlatpakRefKind)</doc>
            <type name="RefKind" c:type="FlatpakRefKind"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of the app/runtime to fetch</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="arch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">which architecture to fetch (default: current architecture)</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="branch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">which branch to fetch (default: 'master')</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="fetch_remote_size_sync"
              c:identifier="flatpak_installation_fetch_remote_size_sync"
              throws="1">
        <doc xml:space="preserve">Gets information about the maximum amount of data that needs to be transferred
to pull the ref from a remote repository, and about the amount of
local disk space that is required to check out this commit.

Note that if there are locally available data that are in the ref, which is common
for instance if you're doing an update then the real download size may be smaller
than what is returned here.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, unless an error occurred</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="remote_name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the remote</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="ref" transfer-ownership="none">
            <doc xml:space="preserve">the ref</doc>
            <type name="Ref" c:type="FlatpakRef*"/>
          </parameter>
          <parameter name="download_size"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">return location for the (maximum) download size</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
          <parameter name="installed_size"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">return location for the installed size</doc>
            <type name="guint64" c:type="guint64*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_config"
              c:identifier="flatpak_installation_get_config"
              throws="1">
        <doc xml:space="preserve">Get a global configuration option for the remote, see
flatpak_installation_set_config_sync() for supported keys.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The (newly allocated) value, or %NULL on error (%G_KEY_FILE_ERROR_KEY_NOT_FOUND error if key is not set)</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">the name of the key to get</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_current_installed_app"
              c:identifier="flatpak_installation_get_current_installed_app"
              throws="1">
        <doc xml:space="preserve">Get the last build of reference @name that was installed with
flatpak_installation_install(), or %NULL if the reference has
never been installed locally.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">an #FlatpakInstalledRef</doc>
          <type name="InstalledRef" c:type="FlatpakInstalledRef*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the app</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_display_name"
              c:identifier="flatpak_installation_get_display_name"
              version="0.8">
        <doc xml:space="preserve">Returns the display name of the system installation for @self.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a string with the installation's display name</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_id"
              c:identifier="flatpak_installation_get_id"
              version="0.8">
        <doc xml:space="preserve">Returns the ID of the system installation for @self.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a string with the installation's ID</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_installed_ref"
              c:identifier="flatpak_installation_get_installed_ref"
              throws="1">
        <doc xml:space="preserve">Returns information about an installed ref, such as the available builds,
its size, location, etc.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">an #FlatpakInstalledRef, or %NULL if an error occurred</doc>
          <type name="InstalledRef" c:type="FlatpakInstalledRef*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve">whether this is an app or runtime</doc>
            <type name="RefKind" c:type="FlatpakRefKind"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of the app/runtime to fetch</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="arch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">which architecture to fetch (default: current architecture)</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="branch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">which branch to fetch (default: "master")</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_is_user"
              c:identifier="flatpak_installation_get_is_user">
        <doc xml:space="preserve">Returns whether the installation is for a user-specific location.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @self is a per-user installation</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_path" c:identifier="flatpak_installation_get_path">
        <doc xml:space="preserve">Returns the installation location for @self.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">an #GFile</doc>
          <type name="Gio.File" c:type="GFile*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_priority"
              c:identifier="flatpak_installation_get_priority"
              version="0.8">
        <doc xml:space="preserve">Returns the numeric priority of the system installation for @self.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">an integer with the configured priority value</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_remote_by_name"
              c:identifier="flatpak_installation_get_remote_by_name"
              throws="1">
        <doc xml:space="preserve">Looks up a remote by name.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #FlatpakRemote instances, or %NULL error</doc>
          <type name="Remote" c:type="FlatpakRemote*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">a remote name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_storage_type"
              c:identifier="flatpak_installation_get_storage_type"
              version="0.8">
        <doc xml:space="preserve">Returns the type of storage of the system installation for @self.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #FlatpakStorageType</doc>
          <type name="StorageType" c:type="FlatpakStorageType"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="install"
              c:identifier="flatpak_installation_install"
              throws="1">
        <doc xml:space="preserve">Install a new application or runtime.

Note that this function was originally written to always return a
#FlatpakInstalledRef. Since 0.9.13, passing
FLATPAK_INSTALL_FLAGS_NO_DEPLOY will only pull refs into the local flatpak
repository without deploying them, however this function will
be unable to provide information on the installed ref, so
FLATPAK_ERROR_ONLY_PULLED will be set and the caller must respond
accordingly.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The ref for the newly installed app or %NULL on failure</doc>
          <type name="InstalledRef" c:type="FlatpakInstalledRef*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="remote_name" transfer-ownership="none">
            <doc xml:space="preserve">name of the remote to use</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve">what this ref contains (an #FlatpakRefKind)</doc>
            <type name="RefKind" c:type="FlatpakRefKind"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of the app/runtime to fetch</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="arch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">which architecture to fetch (default: current architecture)</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="branch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">which branch to fetch (default: 'master')</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="progress"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="call"
                     closure="6">
            <doc xml:space="preserve">progress callback</doc>
            <type name="ProgressCallback" c:type="FlatpakProgressCallback"/>
          </parameter>
          <parameter name="progress_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     closure="5">
            <doc xml:space="preserve">user data passed to @progress</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="install_bundle"
              c:identifier="flatpak_installation_install_bundle"
              throws="1">
        <doc xml:space="preserve">Install an application or runtime from an flatpak bundle file.
See flatpak-build-bundle(1) for how to create bundles.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The ref for the newly installed app or %NULL on failure</doc>
          <type name="InstalledRef" c:type="FlatpakInstalledRef*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve">a #GFile that is an flatpak bundle</doc>
            <type name="Gio.File" c:type="GFile*"/>
          </parameter>
          <parameter name="progress"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="call"
                     closure="2">
            <doc xml:space="preserve">progress callback</doc>
            <type name="ProgressCallback" c:type="FlatpakProgressCallback"/>
          </parameter>
          <parameter name="progress_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     closure="1">
            <doc xml:space="preserve">user data passed to @progress</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="install_full"
              c:identifier="flatpak_installation_install_full"
              throws="1">
        <doc xml:space="preserve">Install a new application or runtime.

Note that this function was originally written to always return a
#FlatpakInstalledRef. Since 0.9.13, passing
FLATPAK_INSTALL_FLAGS_NO_DEPLOY will only pull refs into the local flatpak
repository without deploying them, however this function will
be unable to provide information on the installed ref, so
FLATPAK_ERROR_ONLY_PULLED will be set and the caller must respond
accordingly.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The ref for the newly installed app or %NULL on failure</doc>
          <type name="InstalledRef" c:type="FlatpakInstalledRef*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">set of #FlatpakInstallFlags flag</doc>
            <type name="InstallFlags" c:type="FlatpakInstallFlags"/>
          </parameter>
          <parameter name="remote_name" transfer-ownership="none">
            <doc xml:space="preserve">name of the remote to use</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve">what this ref contains (an #FlatpakRefKind)</doc>
            <type name="RefKind" c:type="FlatpakRefKind"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of the app/runtime to fetch</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="arch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">which architecture to fetch (default: current architecture)</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="branch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">which branch to fetch (default: 'master')</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="subpaths"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A list of subpaths to fetch, or %NULL for everything</doc>
            <array c:type="char**">
              <type name="utf8" c:type="char*"/>
            </array>
          </parameter>
          <parameter name="progress"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="call"
                     closure="8">
            <doc xml:space="preserve">progress callback</doc>
            <type name="ProgressCallback" c:type="FlatpakProgressCallback"/>
          </parameter>
          <parameter name="progress_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     closure="7">
            <doc xml:space="preserve">user data passed to @progress</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="install_ref_file"
              c:identifier="flatpak_installation_install_ref_file"
              version="0.6.10"
              throws="1">
        <doc xml:space="preserve">Creates a remote based on the passed in .flatpakref file contents
in @ref_file_data and returns the #FlatpakRemoteRef that can be used
to install it.

Note, the #FlatpakRemoteRef will not have the commit field set, to
avoid unnecessary roundtrips. If you need that you have to resolve it
explicitly with flatpak_installation_fetch_remote_ref_sync ().</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #FlatpakRemoteRef if the remote has been added successfully, %NULL
on error.</doc>
          <type name="RemoteRef" c:type="FlatpakRemoteRef*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="ref_file_data" transfer-ownership="none">
            <doc xml:space="preserve">The ref file contents</doc>
            <type name="GLib.Bytes" c:type="GBytes*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="launch"
              c:identifier="flatpak_installation_launch"
              throws="1">
        <doc xml:space="preserve">Launch an installed application.

You can use flatpak_installation_get_installed_ref() or
flatpak_installation_get_current_installed_app() to find out what builds
are available, in order to get a value for @commit.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, unless an error occurred</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of the app to launch</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="arch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">which architecture to launch (default: current architecture)</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="branch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">which branch of the application (default: "master")</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="commit"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the commit of @branch to launch</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="list_installed_refs"
              c:identifier="flatpak_installation_list_installed_refs"
              throws="1">
        <doc xml:space="preserve">Lists the installed references.</doc>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve">an GPtrArray of
  #FlatpakInstalledRef instances</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="InstalledRef"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="list_installed_refs_by_kind"
              c:identifier="flatpak_installation_list_installed_refs_by_kind"
              throws="1">
        <doc xml:space="preserve">Lists the installed references of a specific kind.</doc>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve">an GPtrArray of
  #FlatpakInstalledRef instances</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="InstalledRef"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve">the kind of installation</doc>
            <type name="RefKind" c:type="FlatpakRefKind"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="list_installed_refs_for_update"
              c:identifier="flatpak_installation_list_installed_refs_for_update"
              throws="1">
        <doc xml:space="preserve">Lists the installed references that has a remote update that is not
locally available. However, even though an app is not returned by this
it can have local updates available that has not been deployed. Look
at commit vs latest_commit on installed apps for this.</doc>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve">an GPtrArray of
  #FlatpakInstalledRef instances</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="InstalledRef"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="list_installed_related_refs_sync"
              c:identifier="flatpak_installation_list_installed_related_refs_sync"
              version="0.6.7"
              throws="1">
        <doc xml:space="preserve">Lists all the locally installed refs from @remote_name that are
related to @ref. These are things that are interesting to install,
update, or uninstall together with @ref. For instance, locale data
or debug information.

This function is similar to flatpak_installation_list_remote_related_refs_sync,
but instead of looking at what is available on the remote, it only looks
at the locally installed refs. This is useful for instance when you're
looking for related refs to uninstall, or when you're planning to use
FLATPAK_UPDATE_FLAGS_NO_PULL to install previously pulled refs.</doc>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve">an GPtrArray of
  #FlatpakRelatedRef instances</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="RelatedRef"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="remote_name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the remote</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="ref" transfer-ownership="none">
            <doc xml:space="preserve">the ref</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="list_remote_refs_sync"
              c:identifier="flatpak_installation_list_remote_refs_sync"
              throws="1">
        <doc xml:space="preserve">Lists all the applications and runtimes in a remote.</doc>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve">an GPtrArray of
  #FlatpakRemoteRef instances</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="RemoteRef"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="remote_name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the remote</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="list_remote_related_refs_sync"
              c:identifier="flatpak_installation_list_remote_related_refs_sync"
              version="0.6.7"
              throws="1">
        <doc xml:space="preserve">Lists all the available refs on @remote_name that are related to
@ref, and the subpaths to use. These are things that are
interesting to install, update, or uninstall together with
@ref. For instance, locale data or debug information.

The returned list contains all available related refs, but not
everyone should always be installed. For example,
flatpak_related_ref_should_download () returns TRUE if the
reference should be installed/updated with the app, and
flatpak_related_ref_should_delete () returns TRUE if it
should be uninstalled with the main ref.</doc>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve">an GPtrArray of
  #FlatpakRelatedRef instances</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="RelatedRef"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="remote_name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the remote</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="ref" transfer-ownership="none">
            <doc xml:space="preserve">the ref</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="list_remotes"
              c:identifier="flatpak_installation_list_remotes"
              throws="1">
        <doc xml:space="preserve">Lists the remotes, in priority (highest first) order. For same priority,
an earlier added remote comes before a later added one.</doc>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve">an GPtrArray of
  #FlatpakRemote instances</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Remote"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="load_app_overrides"
              c:identifier="flatpak_installation_load_app_overrides"
              throws="1">
        <doc xml:space="preserve">Loads the metadata overrides file for an application.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the contents of the overrides files,
   or %NULL if an error occurred</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="app_id" transfer-ownership="none">
            <doc xml:space="preserve">an application id</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="modify_remote"
              c:identifier="flatpak_installation_modify_remote"
              throws="1">
        <doc xml:space="preserve">Saves changes in the @remote object.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the modifications have been committed successfully</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="remote" transfer-ownership="none">
            <doc xml:space="preserve">the modified #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="prune_local_repo"
              c:identifier="flatpak_installation_prune_local_repo"
              throws="1">
        <doc xml:space="preserve">Remove all orphaned OSTree objects from the underlying OSTree repo in
@installation.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_local_ref_sync"
              c:identifier="flatpak_installation_remove_local_ref_sync"
              throws="1">
        <doc xml:space="preserve">Remove the OSTree ref given by @remote_name:@ref from the local flatpak
repository. The next time the underlying OSTree repo is pruned, objects
which were attached to that ref will be removed. This is useful if you
pulled a flatpak ref using flatpak_installation_install_full() and
specified %FLATPAK_INSTALL_FLAGS_NO_DEPLOY but then decided not to
deploy the ref later on and want to remove the local ref to prevent it
from taking up disk space. Note that this will not remove the objects
referred to by @ref from the underlying OSTree repo, you should use
flatpak_installation_prune_local_repo() to do that.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="remote_name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the remote</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="ref" transfer-ownership="none">
            <doc xml:space="preserve">the ref</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_remote"
              c:identifier="flatpak_installation_remove_remote"
              throws="1">
        <doc xml:space="preserve">Removes the remote with the given name from the installation.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the remote has been removed successfully</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the remote to remove</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_config_sync"
              c:identifier="flatpak_installation_set_config_sync"
              throws="1">
        <doc xml:space="preserve">Set a global configuration option for the installation, currently
the only supported key is "languages", which is a comman-separated
list of langue codes like "sv;en;pl", or "" to mean all languages.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the option was set correctly</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">the name of the key to set</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">the new value, or %NULL to unset</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="uninstall"
              c:identifier="flatpak_installation_uninstall"
              throws="1">
        <doc xml:space="preserve">Uninstall an application or runtime.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve">what this ref contains (an #FlatpakRefKind)</doc>
            <type name="RefKind" c:type="FlatpakRefKind"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of the app or runtime to uninstall</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="arch" transfer-ownership="none">
            <doc xml:space="preserve">architecture of the app or runtime to uninstall</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="branch" transfer-ownership="none">
            <doc xml:space="preserve">name of the branch of the app or runtime to uninstall</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="progress"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="call"
                     closure="5">
            <doc xml:space="preserve">the callback</doc>
            <type name="ProgressCallback" c:type="FlatpakProgressCallback"/>
          </parameter>
          <parameter name="progress_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     closure="4">
            <doc xml:space="preserve">user data passed to @progress</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="update"
              c:identifier="flatpak_installation_update"
              throws="1">
        <doc xml:space="preserve">Update an application or runtime.

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.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The ref for the newly updated app or %NULL on failure</doc>
          <type name="InstalledRef" c:type="FlatpakInstalledRef*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">set of #FlatpakUpdateFlags flag</doc>
            <type name="UpdateFlags" c:type="FlatpakUpdateFlags"/>
          </parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve">whether this is an app or runtime</doc>
            <type name="RefKind" c:type="FlatpakRefKind"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of the app or runtime to update</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="arch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">architecture of the app or runtime to update (default: current architecture)</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="branch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">name of the branch of the app or runtime to update (default: master)</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="progress"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="call"
                     closure="6">
            <doc xml:space="preserve">the callback</doc>
            <type name="ProgressCallback" c:type="FlatpakProgressCallback"/>
          </parameter>
          <parameter name="progress_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     closure="5">
            <doc xml:space="preserve">user data passed to @progress</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="update_appstream_full_sync"
              c:identifier="flatpak_installation_update_appstream_full_sync"
              throws="1">
        <doc xml:space="preserve">Updates the local copy of appstream for @remote_name for the specified @arch.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success, or %FALSE on error</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="remote_name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the remote</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="arch" transfer-ownership="none">
            <doc xml:space="preserve">Architecture to update, or %NULL for the local machine arch</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="progress"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="call"
                     closure="3">
            <doc xml:space="preserve">progress callback</doc>
            <type name="ProgressCallback" c:type="FlatpakProgressCallback"/>
          </parameter>
          <parameter name="progress_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     closure="2">
            <doc xml:space="preserve">user data passed to @progress</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="out_changed"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">Set to %TRUE if the contents of the appstream changed, %FALSE if nothing changed</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="update_appstream_sync"
              c:identifier="flatpak_installation_update_appstream_sync"
              throws="1">
        <doc xml:space="preserve">Updates the local copy of appstream for @remote_name for the specified @arch.
If you need progress feedback, use flatpak_installation_update_appstream_full_sync().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success, or %FALSE on error</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="remote_name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the remote</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="arch" transfer-ownership="none">
            <doc xml:space="preserve">Architecture to update, or %NULL for the local machine arch</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="out_changed"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">Set to %TRUE if the contents of the appstream changed, %FALSE if nothing changed</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="update_full"
              c:identifier="flatpak_installation_update_full"
              throws="1">
        <doc xml:space="preserve">Update an application or runtime.

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.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The ref for the newly updated app or %NULL on failure</doc>
          <type name="InstalledRef" c:type="FlatpakInstalledRef*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">set of #FlatpakUpdateFlags flag</doc>
            <type name="UpdateFlags" c:type="FlatpakUpdateFlags"/>
          </parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve">whether this is an app or runtime</doc>
            <type name="RefKind" c:type="FlatpakRefKind"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of the app or runtime to update</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="arch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">architecture of the app or runtime to update (default: current architecture)</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="branch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">name of the branch of the app or runtime to update (default: master)</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="subpaths"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A list of subpaths to fetch, or %NULL for everything</doc>
            <array c:type="char**">
              <type name="utf8" c:type="char*"/>
            </array>
          </parameter>
          <parameter name="progress"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="call"
                     closure="7">
            <doc xml:space="preserve">the callback</doc>
            <type name="ProgressCallback" c:type="FlatpakProgressCallback"/>
          </parameter>
          <parameter name="progress_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     closure="6">
            <doc xml:space="preserve">user data passed to @progress</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="update_remote_sync"
              c:identifier="flatpak_installation_update_remote_sync"
              version="0.6.13"
              throws="1">
        <doc xml:space="preserve">Updates the local configuration of a remote repository by fetching
the related information from the summary file in the remote OSTree
repository and committing the changes to the local installation.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the remote has been updated successfully</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstallation</doc>
            <type name="Installation" c:type="FlatpakInstallation*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the remote to update</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="InstallationClass"
            c:type="FlatpakInstallationClass"
            glib:is-gtype-struct-for="Installation">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <class name="InstalledRef"
           c:symbol-prefix="installed_ref"
           c:type="FlatpakInstalledRef"
           parent="Ref"
           glib:type-name="FlatpakInstalledRef"
           glib:get-type="flatpak_installed_ref_get_type"
           glib:type-struct="InstalledRefClass">
      <method name="get_deploy_dir"
              c:identifier="flatpak_installed_ref_get_deploy_dir">
        <doc xml:space="preserve">Gets the deploy dir of the ref.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the deploy dir</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstalledRef</doc>
            <type name="InstalledRef" c:type="FlatpakInstalledRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_installed_size"
              c:identifier="flatpak_installed_ref_get_installed_size">
        <doc xml:space="preserve">Returns the installed size of the ref.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the installed size</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstalledRef</doc>
            <type name="InstalledRef" c:type="FlatpakInstalledRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_is_current"
              c:identifier="flatpak_installed_ref_get_is_current">
        <doc xml:space="preserve">Returns whether the ref is current.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the ref is current</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstalledRef</doc>
            <type name="InstalledRef" c:type="FlatpakInstalledRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_latest_commit"
              c:identifier="flatpak_installed_ref_get_latest_commit">
        <doc xml:space="preserve">Gets the latest commit of the ref.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the latest commit</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstalledRef</doc>
            <type name="InstalledRef" c:type="FlatpakInstalledRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_origin"
              c:identifier="flatpak_installed_ref_get_origin">
        <doc xml:space="preserve">Gets the origin of the ref.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the origin</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstalledRef</doc>
            <type name="InstalledRef" c:type="FlatpakInstalledRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_subpaths"
              c:identifier="flatpak_installed_ref_get_subpaths">
        <doc xml:space="preserve">Returns the subpaths that are installed, or %NULL if all files installed.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A strv, or %NULL</doc>
          <array c:type="const char* const*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstalledRef</doc>
            <type name="InstalledRef" c:type="FlatpakInstalledRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="load_metadata"
              c:identifier="flatpak_installed_ref_load_metadata"
              throws="1">
        <doc xml:space="preserve">Loads the metadata file for this ref.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GBytes containing the metadata file,
    or %NULL if an error occurred</doc>
          <type name="GLib.Bytes" c:type="GBytes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakInstalledRef</doc>
            <type name="InstalledRef" c:type="FlatpakInstalledRef*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <property name="deploy-dir" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="installed-size" writable="1" transfer-ownership="none">
        <type name="guint64" c:type="guint64"/>
      </property>
      <property name="is-current" writable="1" transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="latest-commit" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="origin" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="subpaths" writable="1" transfer-ownership="none">
        <array>
          <type name="utf8"/>
        </array>
      </property>
      <field name="parent">
        <type name="Ref" c:type="FlatpakRef"/>
      </field>
    </class>
    <record name="InstalledRefClass"
            c:type="FlatpakInstalledRefClass"
            glib:is-gtype-struct-for="InstalledRef">
      <field name="parent_class">
        <type name="RefClass" c:type="FlatpakRefClass"/>
      </field>
    </record>
    <constant name="MAJOR_VERSION" value="0" c:type="FLATPAK_MAJOR_VERSION">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="MICRO_VERSION" value="3" c:type="FLATPAK_MICRO_VERSION">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="MINOR_VERSION" value="11" c:type="FLATPAK_MINOR_VERSION">
      <type name="gint" c:type="gint"/>
    </constant>
    <callback name="ProgressCallback" c:type="FlatpakProgressCallback">
      <doc xml:space="preserve">The progress callback is called repeatedly during long-running operations
such as installations or updates, and can be used to update progress information
in a user interface.

The callback occurs in the thread-default context of the caller.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="status" transfer-ownership="none">
          <doc xml:space="preserve">A status string, suitable for display</doc>
          <type name="utf8" c:type="const char*"/>
        </parameter>
        <parameter name="progress" transfer-ownership="none">
          <doc xml:space="preserve">percentage of completion</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="estimating" transfer-ownership="none">
          <doc xml:space="preserve">whether @progress is just an estimate</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="3">
          <doc xml:space="preserve">User data passed to the caller</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <class name="Ref"
           c:symbol-prefix="ref"
           c:type="FlatpakRef"
           parent="GObject.Object"
           glib:type-name="FlatpakRef"
           glib:get-type="flatpak_ref_get_type"
           glib:type-struct="RefClass">
      <function name="parse" c:identifier="flatpak_ref_parse" throws="1">
        <doc xml:space="preserve">Tries to parse a full ref name and return a #FlatpakRef (without a
commit set) or fail if the ref is invalid somehow.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">an #FlatpakRef, or %NULL</doc>
          <type name="Ref" c:type="FlatpakRef*"/>
        </return-value>
        <parameters>
          <parameter name="ref" transfer-ownership="none">
            <doc xml:space="preserve">A string ref name, such as "app/org.test.App/86_64/master"</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </function>
      <method name="format_ref" c:identifier="flatpak_ref_format_ref">
        <doc xml:space="preserve">Convert an FlatpakRef object into a string representation that
can be parsed by flatpak_ref_parse().</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">string representation</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRef</doc>
            <type name="Ref" c:type="FlatpakRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_arch" c:identifier="flatpak_ref_get_arch">
        <doc xml:space="preserve">Gets the arch or the ref.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the arch</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRef</doc>
            <type name="Ref" c:type="FlatpakRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_branch" c:identifier="flatpak_ref_get_branch">
        <doc xml:space="preserve">Gets the branch of the ref.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the branch</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRef</doc>
            <type name="Ref" c:type="FlatpakRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_collection_id"
              c:identifier="flatpak_ref_get_collection_id">
        <doc xml:space="preserve">Gets the collection ID of the ref.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the collection ID</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRef</doc>
            <type name="Ref" c:type="FlatpakRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_commit" c:identifier="flatpak_ref_get_commit">
        <doc xml:space="preserve">Gets the commit of the ref.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the commit</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRef</doc>
            <type name="Ref" c:type="FlatpakRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind" c:identifier="flatpak_ref_get_kind">
        <doc xml:space="preserve">Gets the kind of artifact that this ref refers to.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the kind of artifact</doc>
          <type name="RefKind" c:type="FlatpakRefKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRef</doc>
            <type name="Ref" c:type="FlatpakRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="flatpak_ref_get_name">
        <doc xml:space="preserve">Gets the name of the ref.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the name</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRef</doc>
            <type name="Ref" c:type="FlatpakRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="arch" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="branch" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="collection-id" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="commit" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="kind" writable="1" transfer-ownership="none">
        <type name="RefKind"/>
      </property>
      <property name="name" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="RefClass"
            c:type="FlatpakRefClass"
            glib:is-gtype-struct-for="Ref">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <enumeration name="RefKind"
                 glib:type-name="FlatpakRefKind"
                 glib:get-type="flatpak_ref_kind_get_type"
                 c:type="FlatpakRefKind">
      <doc xml:space="preserve">The kind of artifact that a FlatpakRef refers to.</doc>
      <member name="app"
              value="0"
              c:identifier="FLATPAK_REF_KIND_APP"
              glib:nick="app">
        <doc xml:space="preserve">An application</doc>
      </member>
      <member name="runtime"
              value="1"
              c:identifier="FLATPAK_REF_KIND_RUNTIME"
              glib:nick="runtime">
        <doc xml:space="preserve">A runtime that applications can use.</doc>
      </member>
    </enumeration>
    <class name="RelatedRef"
           c:symbol-prefix="related_ref"
           c:type="FlatpakRelatedRef"
           parent="Ref"
           glib:type-name="FlatpakRelatedRef"
           glib:get-type="flatpak_related_ref_get_type"
           glib:type-struct="RelatedRefClass">
      <method name="get_subpaths"
              c:identifier="flatpak_related_ref_get_subpaths"
              version="0.6.7">
        <doc xml:space="preserve">Returns the subpaths that should be installed/updated for the ref.
This returns %NULL if all files should be installed.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A strv, or %NULL</doc>
          <array c:type="const char* const*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRelatedRef</doc>
            <type name="RelatedRef" c:type="FlatpakRelatedRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="should_delete"
              c:identifier="flatpak_related_ref_should_delete"
              version="0.6.7">
        <doc xml:space="preserve">Returns whether to auto-delete the ref with the main ref.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the ref should be deleted with the main ref.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRelatedRef</doc>
            <type name="RelatedRef" c:type="FlatpakRelatedRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="should_download"
              c:identifier="flatpak_related_ref_should_download">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="RelatedRef" c:type="FlatpakRelatedRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="should-delete" writable="1" transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="should-download" writable="1" transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="subpaths" writable="1" transfer-ownership="none">
        <array>
          <type name="utf8"/>
        </array>
      </property>
      <field name="parent">
        <type name="Ref" c:type="FlatpakRef"/>
      </field>
    </class>
    <record name="RelatedRefClass"
            c:type="FlatpakRelatedRefClass"
            glib:is-gtype-struct-for="RelatedRef">
      <field name="parent_class">
        <type name="RefClass" c:type="FlatpakRefClass"/>
      </field>
    </record>
    <class name="Remote"
           c:symbol-prefix="remote"
           c:type="FlatpakRemote"
           parent="GObject.Object"
           glib:type-name="FlatpakRemote"
           glib:get-type="flatpak_remote_get_type"
           glib:type-struct="RemoteClass">
      <constructor name="new" c:identifier="flatpak_remote_new">
        <doc xml:space="preserve">Returns a new remote object which can be used to configure a new remote.

Note: This is a local configuration object, you must commit changes
using flatpak_installation_modify_remote() for the changes to take
effect.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #FlatpakRemote</doc>
          <type name="Remote" c:type="FlatpakRemote*"/>
        </return-value>
        <parameters>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">a name</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="get_appstream_dir"
              c:identifier="flatpak_remote_get_appstream_dir">
        <doc xml:space="preserve">Returns the directory where this remote will store locally cached
appstream information for the specified @arch.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GFile</doc>
          <type name="Gio.File" c:type="GFile*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
          <parameter name="arch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">which architecture to fetch (default: current architecture)</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_appstream_timestamp"
              c:identifier="flatpak_remote_get_appstream_timestamp">
        <doc xml:space="preserve">Returns the timestamp file that will be updated whenever the appstream information
has been updated (or tried to update) for the specified @arch.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GFile</doc>
          <type name="Gio.File" c:type="GFile*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
          <parameter name="arch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">which architecture to fetch (default: current architecture)</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_collection_id"
              c:identifier="flatpak_remote_get_collection_id">
        <doc xml:space="preserve">Returns the repository collection ID of this remote, if set.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">the collection ID, or %NULL if unset</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_default_branch"
              c:identifier="flatpak_remote_get_default_branch"
              version="0.6.12">
        <doc xml:space="preserve">Returns the default branch configured for the remote.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the default branch, or %NULL</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_disabled" c:identifier="flatpak_remote_get_disabled">
        <doc xml:space="preserve">Returns whether this remote is disabled.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">whether the remote is marked as "don't enumerate"</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_gpg_verify"
              c:identifier="flatpak_remote_get_gpg_verify">
        <doc xml:space="preserve">Returns whether GPG verification is enabled for the remote.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">whether GPG verification is enabled</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="flatpak_remote_get_name">
        <doc xml:space="preserve">Returns the name of the remote repository.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the name</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_nodeps" c:identifier="flatpak_remote_get_nodeps">
        <doc xml:space="preserve">Returns whether this remote should be used to find dependencies.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">whether the remote is marked as "don't use for dependencies"</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_noenumerate"
              c:identifier="flatpak_remote_get_noenumerate">
        <doc xml:space="preserve">Returns whether this remote should be used to list applications.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">whether the remote is marked as "don't enumerate"</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_prio" c:identifier="flatpak_remote_get_prio">
        <doc xml:space="preserve">Returns the priority for the remote.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the priority</doc>
          <type name="gint" c:type="int"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_remote_type"
              c:identifier="flatpak_remote_get_remote_type"
              version="0.9.8">
        <doc xml:space="preserve">Get the value of #FlatpakRemote:type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the type of remote this is</doc>
          <type name="RemoteType" c:type="FlatpakRemoteType"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_title" c:identifier="flatpak_remote_get_title">
        <doc xml:space="preserve">Returns the title of the remote.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the title</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_url" c:identifier="flatpak_remote_get_url">
        <doc xml:space="preserve">Returns the repository URL of this remote.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the URL</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_collection_id"
              c:identifier="flatpak_remote_set_collection_id">
        <doc xml:space="preserve">Sets the repository collection ID of this remote.

Note: This is a local modification of this object, you must commit changes
using flatpak_installation_modify_remote() for the changes to take
effect.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
          <parameter name="collection_id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The new collection ID, or %NULL to unset</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_default_branch"
              c:identifier="flatpak_remote_set_default_branch"
              version="0.6.12">
        <doc xml:space="preserve">Sets the default branch configured for this remote.

Note: This is a local modification of this object, you must commit changes
using flatpak_installation_modify_remote() for the changes to take
effect.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
          <parameter name="default_branch" transfer-ownership="none">
            <doc xml:space="preserve">The new default_branch</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_disabled" c:identifier="flatpak_remote_set_disabled">
        <doc xml:space="preserve">Sets the disabled config of this remote. See flatpak_remote_get_disable().

Note: This is a local modification of this object, you must commit changes
using flatpak_installation_modify_remote() for the changes to take
effect.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
          <parameter name="disabled" transfer-ownership="none">
            <doc xml:space="preserve">a bool</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_gpg_key" c:identifier="flatpak_remote_set_gpg_key">
        <doc xml:space="preserve">Sets the trusted gpg key for this remote.

Note: This is a local modification of this object, you must commit changes
using flatpak_installation_modify_remote() for the changes to take
effect.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
          <parameter name="gpg_key" transfer-ownership="none">
            <doc xml:space="preserve">a #GBytes with gpg binary key data</doc>
            <type name="GLib.Bytes" c:type="GBytes*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_gpg_verify"
              c:identifier="flatpak_remote_set_gpg_verify">
        <doc xml:space="preserve">Sets the gpg_verify config of this remote. See flatpak_remote_get_gpg_verify().

Note: This is a local modification of this object, you must commit changes
using flatpak_installation_modify_remote() for the changes to take
effect.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
          <parameter name="gpg_verify" transfer-ownership="none">
            <doc xml:space="preserve">a bool</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_nodeps" c:identifier="flatpak_remote_set_nodeps">
        <doc xml:space="preserve">Sets the nodeps config of this remote. See flatpak_remote_get_nodeps().

Note: This is a local modification of this object, you must commit changes
using flatpak_installation_modify_remote() for the changes to take
effect.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
          <parameter name="nodeps" transfer-ownership="none">
            <doc xml:space="preserve">a bool</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_noenumerate"
              c:identifier="flatpak_remote_set_noenumerate">
        <doc xml:space="preserve">Sets the noenumeration config of this remote. See flatpak_remote_get_noenumerate().

Note: This is a local modification of this object, you must commit changes
using flatpak_installation_modify_remote() for the changes to take
effect.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
          <parameter name="noenumerate" transfer-ownership="none">
            <doc xml:space="preserve">a bool</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_prio" c:identifier="flatpak_remote_set_prio">
        <doc xml:space="preserve">Sets the prio config of this remote. See flatpak_remote_get_prio().

Note: This is a local modification of this object, you must commit changes
using flatpak_installation_modify_remote() for the changes to take
effect.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
          <parameter name="prio" transfer-ownership="none">
            <doc xml:space="preserve">a bool</doc>
            <type name="gint" c:type="int"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_title" c:identifier="flatpak_remote_set_title">
        <doc xml:space="preserve">Sets the repository title of this remote.

Note: This is a local modification of this object, you must commit changes
using flatpak_installation_modify_remote() for the changes to take
effect.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
          <parameter name="title" transfer-ownership="none">
            <doc xml:space="preserve">The new title</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_url" c:identifier="flatpak_remote_set_url">
        <doc xml:space="preserve">Sets the repository URL of this remote.

Note: This is a local modification of this object, you must commit changes
using flatpak_installation_modify_remote() for the changes to take
effect.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemote</doc>
            <type name="Remote" c:type="FlatpakRemote*"/>
          </instance-parameter>
          <parameter name="url" transfer-ownership="none">
            <doc xml:space="preserve">The new url</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <property name="name" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">Name of the remote, as used in configuration files and when interfacing
with OSTree. This is typically human readable, but could be generated, and
must conform to ostree_validate_remote_name(). It should typically not be
presented in the UI.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="type"
                version="0.9.8"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The type of the remote: whether it comes from static configuration files
(@FLATPAK_REMOTE_TYPE_STATIC) or has been dynamically found from the local
network or a mounted USB drive (@FLATPAK_REMOTE_TYPE_LAN,
@FLATPAK_REMOTE_TYPE_USB). Dynamic remotes may be added and removed over
time.</doc>
        <type name="RemoteType"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="RemoteClass"
            c:type="FlatpakRemoteClass"
            glib:is-gtype-struct-for="Remote">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <class name="RemoteRef"
           c:symbol-prefix="remote_ref"
           c:type="FlatpakRemoteRef"
           parent="Ref"
           glib:type-name="FlatpakRemoteRef"
           glib:get-type="flatpak_remote_ref_get_type"
           glib:type-struct="RemoteRefClass">
      <method name="get_remote_name"
              c:identifier="flatpak_remote_ref_get_remote_name">
        <doc xml:space="preserve">Gets the remote name of the ref.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the remote name</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #FlatpakRemoteRef</doc>
            <type name="RemoteRef" c:type="FlatpakRemoteRef*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="remote-name" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent">
        <type name="Ref" c:type="FlatpakRef"/>
      </field>
    </class>
    <record name="RemoteRefClass"
            c:type="FlatpakRemoteRefClass"
            glib:is-gtype-struct-for="RemoteRef">
      <field name="parent_class">
        <type name="RefClass" c:type="FlatpakRefClass"/>
      </field>
    </record>
    <enumeration name="RemoteType"
                 glib:type-name="FlatpakRemoteType"
                 glib:get-type="flatpak_remote_type_get_type"
                 c:type="FlatpakRemoteType">
      <member name="static"
              value="0"
              c:identifier="FLATPAK_REMOTE_TYPE_STATIC"
              glib:nick="static">
      </member>
      <member name="usb"
              value="1"
              c:identifier="FLATPAK_REMOTE_TYPE_USB"
              glib:nick="usb">
      </member>
      <member name="lan"
              value="2"
              c:identifier="FLATPAK_REMOTE_TYPE_LAN"
              glib:nick="lan">
      </member>
    </enumeration>
    <enumeration name="StorageType"
                 version="0.6.15"
                 glib:type-name="FlatpakStorageType"
                 glib:get-type="flatpak_storage_type_get_type"
                 c:type="FlatpakStorageType">
      <doc xml:space="preserve">Flags to alter the behavior of flatpak_installation_install_full().</doc>
      <member name="default"
              value="0"
              c:identifier="FLATPAK_STORAGE_TYPE_DEFAULT"
              glib:nick="default">
        <doc xml:space="preserve">default</doc>
      </member>
      <member name="hard_disk"
              value="1"
              c:identifier="FLATPAK_STORAGE_TYPE_HARD_DISK"
              glib:nick="hard-disk">
        <doc xml:space="preserve">installation is on a hard disk</doc>
      </member>
      <member name="sdcard"
              value="2"
              c:identifier="FLATPAK_STORAGE_TYPE_SDCARD"
              glib:nick="sdcard">
        <doc xml:space="preserve">installation is on a SD card</doc>
      </member>
      <member name="mmc"
              value="3"
              c:identifier="FLATPAK_STORAGE_TYPE_MMC"
              glib:nick="mmc">
        <doc xml:space="preserve">installation is on an MMC</doc>
      </member>
      <member name="network"
              value="4"
              c:identifier="FLATPAK_STORAGE_TYPE_NETWORK"
              glib:nick="network">
        <doc xml:space="preserve">installation is on the network</doc>
      </member>
    </enumeration>
    <bitfield name="UpdateFlags"
              glib:type-name="FlatpakUpdateFlags"
              glib:get-type="flatpak_update_flags_get_type"
              c:type="FlatpakUpdateFlags">
      <doc xml:space="preserve">Flags to alter the behavior of flatpak_installation_update().</doc>
      <member name="none"
              value="0"
              c:identifier="FLATPAK_UPDATE_FLAGS_NONE"
              glib:nick="none">
        <doc xml:space="preserve">Fetch remote builds and install the latest one (default)</doc>
      </member>
      <member name="no_deploy"
              value="1"
              c:identifier="FLATPAK_UPDATE_FLAGS_NO_DEPLOY"
              glib:nick="no-deploy">
        <doc xml:space="preserve">Don't install any new builds that might be fetched</doc>
      </member>
      <member name="no_pull"
              value="2"
              c:identifier="FLATPAK_UPDATE_FLAGS_NO_PULL"
              glib:nick="no-pull">
        <doc xml:space="preserve">Don't try to fetch new builds from the remote repo</doc>
      </member>
      <member name="no_static_deltas"
              value="4"
              c:identifier="FLATPAK_UPDATE_FLAGS_NO_STATIC_DELTAS"
              glib:nick="no-static-deltas">
      </member>
    </bitfield>
    <function name="error_quark"
              c:identifier="flatpak_error_quark"
              moved-to="Error.quark">
      <return-value transfer-ownership="none">
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
    <function name="get_default_arch" c:identifier="flatpak_get_default_arch">
      <doc xml:space="preserve">Returns the canonical name for the arch of the current machine.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">an arch string</doc>
        <type name="utf8" c:type="const char*"/>
      </return-value>
    </function>
    <function name="get_supported_arches"
              c:identifier="flatpak_get_supported_arches">
      <doc xml:space="preserve">Returns the canonical names for the arches that are supported (i.e. can run)
on the current machine, in order of priority (default is first).</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a zero terminated array of arch strings</doc>
        <array c:type="const char* const*">
          <type name="utf8"/>
        </array>
      </return-value>
    </function>
    <function name="get_system_installations"
              c:identifier="flatpak_get_system_installations"
              version="0.8"
              throws="1">
      <doc xml:space="preserve">Lists the system installations according to the current configuration and current
availability (e.g. doesn't return a configured installation if not reachable).</doc>
      <return-value transfer-ownership="container">
        <doc xml:space="preserve">an GPtrArray of
  #FlatpakInstallation instances</doc>
        <array name="GLib.PtrArray" c:type="GPtrArray*">
          <type name="Installation"/>
        </array>
      </return-value>
      <parameters>
        <parameter name="cancellable"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">a #GCancellable</doc>
          <type name="Gio.Cancellable" c:type="GCancellable*"/>
        </parameter>
      </parameters>
    </function>
  </namespace>
</repository>