core: Expose API to get repository tmpdir

This commit is contained in:
Colin Walters 2011-11-18 16:01:28 -05:00
parent f6ec479f17
commit c66474750b
2 changed files with 9 additions and 0 deletions

View File

@ -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)
{

View File

@ -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);