summaryrefslogtreecommitdiff
path: root/gsystem-file-utils.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-12-09 16:40:26 -0500
committerColin Walters <walters@verbum.org>2012-12-09 17:01:30 -0500
commita98e4be8ef5c57b8f79f896b7bf13142499a17c3 (patch)
treeb4abbb0e4b068d6cdfa917d8eaa28c71123b8338 /gsystem-file-utils.h
parentaac3668399f8058877cf21ba35617ec4cfecd500 (diff)
downloadlibgsystem-a98e4be8ef5c57b8f79f896b7bf13142499a17c3.tar.gz
Add API to create a directory with mode
Will be used by ostree.
Diffstat (limited to 'gsystem-file-utils.h')
-rw-r--r--gsystem-file-utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gsystem-file-utils.h b/gsystem-file-utils.h
index fc85584..93aa568 100644
--- a/gsystem-file-utils.h
+++ b/gsystem-file-utils.h
@@ -50,6 +50,11 @@ gboolean gs_file_ensure_directory (GFile *dir,
GCancellable *cancellable,
GError **error);
+gboolean gs_file_ensure_directory_mode (GFile *dir,
+ guint mode,
+ GCancellable *cancellable,
+ GError **error);
+
gchar *gs_file_load_contents_utf8 (GFile *file,
GCancellable *cancellable,
GError **error);