Files
flatpak/doc/reference/libflatpak-docs.xml
T
Razze dec343a0ea user-data: Expose app data deletion in libflatpak
Applications using libflatpak currently have to duplicate the CLI's
private cleanup logic to offer the equivalent of uninstall --delete-data.

Add a standalone API that removes ~/.var/app data and resets permission
store entries without requiring the app to be installed. Keep it separate
from transactions so callers can retry partial failures or reset data for
an installed app.

Validate app IDs before constructing paths, propagate cancellation and
permission table errors, and document partial failure behavior.
2026-09-23 09:28:18 +00:00

64 lines
2.5 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
[
<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY version SYSTEM "version.xml">
]>
<book id="index">
<bookinfo>
<title>Flatpak Library Reference Manual</title>
<releaseinfo>
For flatpak &version;
</releaseinfo>
</bookinfo>
<chapter>
<title>Flatpak</title>
<xi:include href="xml/flatpak-user-data-utils.xml"/>
<xi:include href="xml/flatpak-installation.xml"/>
<xi:include href="xml/flatpak-remote.xml"/>
<xi:include href="xml/flatpak-transaction-operation.xml"/>
<xi:include href="xml/flatpak-transaction-progress.xml"/>
<xi:include href="xml/flatpak-transaction.xml"/>
<xi:include href="xml/flatpak-ref.xml"/>
<xi:include href="xml/flatpak-installed-ref.xml"/>
<xi:include href="xml/flatpak-related-ref.xml"/>
<xi:include href="xml/flatpak-remote-ref.xml"/>
<xi:include href="xml/flatpak-bundle-ref.xml"/>
<xi:include href="xml/flatpak-instance.xml"/>
<xi:include href="xml/flatpak-error.xml"/>
<xi:include href="xml/flatpak-version-macros.xml"/>
</chapter>
<chapter>
<title>D-Bus APIs</title>
<xi:include href="dbus-org.freedesktop.Flatpak.Authenticator.xml"/>
<xi:include href="dbus-org.freedesktop.Flatpak.AuthenticatorRequest.xml"/>
<xi:include href="dbus-org.freedesktop.Flatpak.Development.xml"/>
<xi:include href="dbus-org.freedesktop.Flatpak.SessionHelper.xml"/>
<xi:include href="dbus-org.freedesktop.Flatpak.SystemHelper.xml"/>
<xi:include href="dbus-org.freedesktop.impl.portal.PermissionStore.xml"/>
<xi:include href="dbus-org.freedesktop.portal.Documents.xml"/>
<xi:include href="dbus-org.freedesktop.portal.Flatpak.xml"/>
<xi:include href="dbus-org.freedesktop.portal.Flatpak.UpdateMonitor.xml"/>
</chapter>
<chapter id="object-tree">
<title>Object Hierarchy</title>
<xi:include href="xml/tree_index.sgml"/>
</chapter>
<index id="full-api-index">
<title>API Index</title>
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
</index>
<index id="deprecated-api-index" role="deprecated">
<title>Index of deprecated API</title>
<xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
</index>
<xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
</book>