summaryrefslogtreecommitdiff
path: root/core/os/file_access.h
diff options
context:
space:
mode:
authorBojidar Marinov <bojidar.marinov.bg@gmail.com>2016-06-17 10:55:16 +0300
committerBojidar Marinov <bojidar.marinov.bg@gmail.com>2016-06-17 10:55:16 +0300
commit7073bb0bb2c814b71f6128d249d7135dfca94b4a (patch)
tree41015e5af4288ffc3e4cc83826f5c883d2498de6 /core/os/file_access.h
parent367aabf03080da8e4e72c9db56b0b2097c86d6b4 (diff)
Add sha256 to String and File/FileAccess.
Probably does #4166
Diffstat (limited to 'core/os/file_access.h')
-rw-r--r--core/os/file_access.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/os/file_access.h b/core/os/file_access.h
index 8d5823663e..5178c469bc 100644
--- a/core/os/file_access.h
+++ b/core/os/file_access.h
@@ -153,6 +153,7 @@ public:
static bool is_backup_save_enabled() { return backup_save; };
static String get_md5(const String& p_file);
+ static String get_sha256(const String& p_file);
static Vector<uint8_t> get_file_as_array(const String& p_path);