| 940 | } |
| 941 | |
| 942 | Error gdre::touch_file(const String &path) { |
| 943 | Ref<FileAccess> fa = FileAccess::open(path, FileAccess::READ_WRITE); |
| 944 | if (fa.is_null()) { |
| 945 | return ERR_FILE_CANT_OPEN; |
| 946 | } |
| 947 | size_t size = fa->get_length(); |
| 948 | fa->resize(size); |
| 949 | fa->close(); |
| 950 | return OK; |
| 951 | } |
| 952 | |
| 953 | //void get_chars_in_set(const String &s, const HashSet<char32_t> &chars, HashSet<char32_t> &ret); |
| 954 |
nothing calls this directly
no test coverage detected