core: Expose API to get repository tmpdir
This commit is contained in:
1 parent
f6ec479f17
commit
c66474750b
2 files changed
+9
No files matched your search
@@ -546,6 +546,13 @@ ostree_repo_get_path (OstreeRepo *self)
|
||||
return priv->path;
|
||||
}
|
||||
|
||||
GFile *
|
||||
ostree_repo_get_tmpdir (OstreeRepo *self)
|
||||
{
|
||||
OstreeRepoPrivate *priv = GET_PRIVATE (self);
|
||||
return priv->tmp_dir;
|
||||
}
|
||||
|
||||
gboolean
|
||||
ostree_repo_is_archive (OstreeRepo *self)
|
||||
{
|
||||
|
||||
@@ -57,6 +57,8 @@ const char * ostree_repo_get_path (OstreeRepo *self);
|
||||
|
||||
gboolean ostree_repo_is_archive (OstreeRepo *self);
|
||||
|
||||
GFile * ostree_repo_get_tmpdir (OstreeRepo *self);
|
||||
|
||||
GKeyFile * ostree_repo_get_config (OstreeRepo *self);
|
||||
|
||||
GKeyFile * ostree_repo_copy_config (OstreeRepo *self);
|
||||
|
||||
Reference in new issue
Block a user