diff options
author | Colin Walters <walters@verbum.org> | 2011-10-27 09:21:07 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2011-10-27 14:32:05 -0400 |
commit | 7ca1c3d2e730baa19eb4cbdfb7c43f5016241d27 (patch) | |
tree | e9e1d63ca309909704b333d81bd633322584745a /src/libotutil/ot-gio-utils.h | |
parent | 6924e79e609f092eb7db15eca086ce97a282a8d5 (diff) | |
download | ostree-7ca1c3d2e730baa19eb4cbdfb7c43f5016241d27.tar.gz |
core: remove HEAD file, use branches instead
HEAD in git describes a working copy, and we don't have those.
Instead, default to a "master" branch. This also lets us support
multiple branches.
Diffstat (limited to 'src/libotutil/ot-gio-utils.h')
-rw-r--r-- | src/libotutil/ot-gio-utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libotutil/ot-gio-utils.h b/src/libotutil/ot-gio-utils.h index 722e00c1..0acb4dc9 100644 --- a/src/libotutil/ot-gio-utils.h +++ b/src/libotutil/ot-gio-utils.h @@ -32,6 +32,12 @@ gboolean ot_util_ensure_directory (const char *path, gboolean with_parents, GErr char * ot_util_get_file_contents_utf8 (const char *path, GError **error); +gboolean ot_util_gfile_load_contents_utf8 (GFile *file, + GCancellable *cancellable, + char **contents_out, + char **etag_out, + GError **error); + GInputStream *ot_util_read_file_noatime (GFile *file, GCancellable *cancellable, GError **error); G_END_DECLS |