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:
1 parent
8a499c4a2a
commit
d25f1bf73d
21 files changed
+84
-85
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user