浏览代码

Update file_access.h location

`os/file_access.h` moved to `io/file_access.h` in 9e328bb5b:
https://github.com/godotengine/godot/commit/9e328bb5b
Sai Nane 8 月之前
父节点
当前提交
3489cc51fb
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      contributing/development/core_and_modules/custom_resource_format_loaders.rst

+ 2 - 2
contributing/development/core_and_modules/custom_resource_format_loaders.rst

@@ -269,7 +269,7 @@ calls into ``std::istream``.
 
 .. code-block:: cpp
 
-    #include "core/os/file_access.h"
+    #include "core/io/file_access.h"
 
     #include <istream>
     #include <streambuf>
@@ -304,7 +304,7 @@ References
 
 - `istream <https://cplusplus.com/reference/istream/istream/>`_
 - `streambuf <https://cplusplus.com/reference/streambuf/streambuf/?kw=streambuf>`_
-- `core/io/file_access.h <https://github.com/godotengine/godot/blob/master/core/os/file_access.h>`_
+- `core/io/file_access.h <https://github.com/godotengine/godot/blob/master/core/io/file_access.h>`_
 
 Registering the new file format
 -------------------------------