@@ -37,26 +37,26 @@ Ref<FileAccess> FileSystemProtocol::_open_file(const String &p_path, int p_mode_
3737 return open_file (p_path, p_mode_flags, open_error);
3838}
3939
40- String FileSystemProtocol::globalize_path (const String& p_path) const {
40+ String FileSystemProtocol::globalize_path (const String & p_path) const {
4141 return p_path;
4242}
4343
4444void FileSystemProtocol::disguise_file (const Ref<FileAccess> &p_file, const String &p_protocol_name, const String &p_path) const {
45- p_file->set_path_disguise (p_protocol_name+ " ://" + p_path);
45+ p_file->set_path_disguise (p_protocol_name + " ://" + p_path);
4646}
4747
48- void FileSystemProtocol::_bind_methods (){
48+ void FileSystemProtocol::_bind_methods () {
4949 ClassDB::bind_method (D_METHOD (" globalize_path" , " path" ), &FileSystemProtocol::globalize_path);
50-
50+
5151 ClassDB::bind_method (D_METHOD (" get_open_error" ), &FileSystemProtocol::get_open_error);
52- ClassDB::bind_method (D_METHOD (" open_file" , " path" ," mode_flags" ), &FileSystemProtocol::_open_file);
52+ ClassDB::bind_method (D_METHOD (" open_file" , " path" , " mode_flags" ), &FileSystemProtocol::_open_file);
5353 ClassDB::bind_method (D_METHOD (" file_exists" , " name" ), &FileSystemProtocol::file_exists);
54-
54+
5555 ClassDB::bind_method (D_METHOD (" get_modified_time" , " path" ), &FileSystemProtocol::get_modified_time);
5656 ClassDB::bind_method (D_METHOD (" get_unix_permissions" , " path" ), &FileSystemProtocol::get_unix_permissions);
57- ClassDB::bind_method (D_METHOD (" set_unix_permissions" , " path" ," permissions" ), &FileSystemProtocol::set_unix_permissions);
57+ ClassDB::bind_method (D_METHOD (" set_unix_permissions" , " path" , " permissions" ), &FileSystemProtocol::set_unix_permissions);
5858 ClassDB::bind_method (D_METHOD (" get_hidden_attribute" , " path" ), &FileSystemProtocol::get_hidden_attribute);
59- ClassDB::bind_method (D_METHOD (" set_hidden_attribute" , " path" ," hidden" ), &FileSystemProtocol::set_hidden_attribute);
59+ ClassDB::bind_method (D_METHOD (" set_hidden_attribute" , " path" , " hidden" ), &FileSystemProtocol::set_hidden_attribute);
6060 ClassDB::bind_method (D_METHOD (" get_read_only_attribute" , " path" ), &FileSystemProtocol::get_read_only_attribute);
61- ClassDB::bind_method (D_METHOD (" set_read_only_attribute" , " path" ," ro" ), &FileSystemProtocol::set_read_only_attribute);
62- }
61+ ClassDB::bind_method (D_METHOD (" set_read_only_attribute" , " path" , " ro" ), &FileSystemProtocol::set_read_only_attribute);
62+ }
0 commit comments