core: Use GFile for repo constructor API, and a bit more internally

Also, ensure that the repo directory GFile is absolute - this avoids
a getcwd() syscall every time we construct a GFile object.
This commit is contained in:
Colin Walters committed 2011-12-22 11:04:08 -05:00
1 parent 8a499c4a2a
commit d25f1bf73d
21 files changed
+84 -85

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ on_checksum_received (GObject *obj,
}
gboolean
ostree_builtin_checksum (int argc, char **argv, const char *repo_path, GError **error)
ostree_builtin_checksum (int argc, char **argv, GFile *repo_path_path, GError **error)
{
GOptionContext *context;
gboolean ret = FALSE;