Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/util/util_path.h')
-rw-r--r--intern/cycles/util/util_path.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/cycles/util/util_path.h b/intern/cycles/util/util_path.h
index b81d71d1c0f..c80247f3837 100644
--- a/intern/cycles/util/util_path.h
+++ b/intern/cycles/util/util_path.h
@@ -44,7 +44,9 @@ string path_escape(const string& path);
bool path_is_relative(const string& path);
/* file info */
+size_t path_file_size(const string& path);
bool path_exists(const string& path);
+bool path_is_directory(const string& path);
string path_files_md5_hash(const string& dir);
uint64_t path_modified_time(const string& path);
@@ -59,6 +61,9 @@ bool path_write_text(const string& path, string& text);
bool path_read_binary(const string& path, vector<uint8_t>& binary);
bool path_read_text(const string& path, string& text);
+/* File manipulation. */
+bool path_remove(const string& path);
+
/* source code utility */
string path_source_replace_includes(const string& source, const string& path);