diff options
author | Colin Walters <walters@verbum.org> | 2015-04-17 09:13:31 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2015-04-17 14:15:11 -0400 |
commit | 24087d477cd738a8efebe852d858fad2df699fb2 (patch) | |
tree | a497859bb29f274d87daaad17da37a7c8b3eb4be /src/libostree/ostree-sysroot.h | |
parent | 60ebec770e56a61611eb7086bdc8f558e751003b (diff) | |
download | ostree-24087d477cd738a8efebe852d858fad2df699fb2.tar.gz |
sysroot: Add ostree_sysroot_get_fd()
This way external programs like rpm-ostree can do fd-relative
operations on the deployment directories, like inspecting the RPM
database.
Closes: https://github.com/GNOME/ostree/pull/91
Diffstat (limited to 'src/libostree/ostree-sysroot.h')
-rw-r--r-- | src/libostree/ostree-sysroot.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libostree/ostree-sysroot.h b/src/libostree/ostree-sysroot.h index 4342470f..fe6441fb 100644 --- a/src/libostree/ostree-sysroot.h +++ b/src/libostree/ostree-sysroot.h @@ -39,6 +39,8 @@ OstreeSysroot* ostree_sysroot_new_default (void); GFile *ostree_sysroot_get_path (OstreeSysroot *self); +int ostree_sysroot_get_fd (OstreeSysroot *self); + gboolean ostree_sysroot_load (OstreeSysroot *self, GCancellable *cancellable, GError **error); |