summaryrefslogtreecommitdiffstats
path: root/core/io/file_access_network.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-08-10 13:30:00 -0300
committerGitHub <noreply@github.com>2018-08-10 13:30:00 -0300
commit767fb2fa0ba14ee6afb4eeeaad12e5dee944547b (patch)
tree3987cd371656fd23d039c3f12905bd713e6ee8b8 /core/io/file_access_network.cpp
parent275e0d5ee4e80d9d3cd124ffa29a691b9aed3e70 (diff)
parentea3d997f9d4243c21a9f7a65d0320f31c4d57f54 (diff)
downloadredot-engine-767fb2fa0ba14ee6afb4eeeaad12e5dee944547b.tar.gz
Merge pull request #20889 from godotengine/revert-18914-master
Revert "added get_creation_time function for gdscript"
Diffstat (limited to 'core/io/file_access_network.cpp')
-rw-r--r--core/io/file_access_network.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/core/io/file_access_network.cpp b/core/io/file_access_network.cpp
index 561f56fd82..e0a2dbf507 100644
--- a/core/io/file_access_network.cpp
+++ b/core/io/file_access_network.cpp
@@ -498,24 +498,6 @@ uint64_t FileAccessNetwork::_get_modified_time(const String &p_file) {
return exists_modtime;
}
-// NEW FUNCTION
-uint64_t FileAccessNetwork::_get_creation_time(const String &p_file) {
-
- FileAccessNetworkClient *nc = FileAccessNetworkClient::singleton;
- nc->lock_mutex();
- nc->put_32(id);
- nc->put_32(COMMAND_GET_MODTIME);
- CharString cs = p_file.utf8();
- nc->put_32(cs.length());
- nc->client->put_data((const uint8_t *)cs.ptr(), cs.length());
- nc->unlock_mutex();
- DEBUG_PRINT("MODTIME POST");
- nc->sem->post();
- sem->wait();
-
- return exists_modtime;
-}
-
void FileAccessNetwork::configure() {
GLOBAL_DEF("network/remote_fs/page_size", 65536);