repo: Add ostree_repo_get_dfd()

I plan to use this in rpm-ostree at least for two reasons:
 - To find the mtime on the repo
 - To use the tmp/ directory to stage content (but we should eventually
   add a better API)
This commit is contained in:
Colin Walters committed 2016-03-01 21:52:22 -05:00
1 parent 16979cc5ed
commit 3efdcb54b7
3 files changed
+26

No files matched your search

+3
View File
@@ -82,6 +82,9 @@ gboolean ostree_repo_create (OstreeRepo *self,
_OSTREE_PUBLIC
GFile * ostree_repo_get_path (OstreeRepo *self);
_OSTREE_PUBLIC
int ostree_repo_get_dfd (OstreeRepo *self);
_OSTREE_PUBLIC
OstreeRepoMode ostree_repo_get_mode (OstreeRepo *self);