Install a shared library

This required a fair bit of surgery because previously ostree.h
included otutil.h, but that's supposed to be a private library.
This commit is contained in:
Colin Walters committed 2013-07-26 19:25:07 -04:00
1 parent 74b2c7aab3
commit a5d43bb959
57 files changed
+162 -47

No files matched your search

+12
View File
@@ -23,6 +23,7 @@
#include "config.h"
#include "ostree-repo-private.h"
#include "otutil.h"
static gboolean
add_ref_to_set (const char *remote,
@@ -350,6 +351,17 @@ resolve_refspec (OstreeRepo *self,
return ret;
}
/**
* ostree_repo_resolve_rev:
* @self:
* @refspec: A refspec
* @allow_noent: Do not throw an error if refspec does not exist
* @out_rev: (out) (transfer full): A checksum,or %NULL if @allow_noent is true and it does not exist
* @error:
*
* Look up the given refspec, returning the checksum it references in
* the parameter @out_rev.
*/
gboolean
ostree_repo_resolve_rev (OstreeRepo *self,
const char *refspec,