Core: Move DirAccess and FileAccess to core/io

File handling APIs are typically considered part of I/O, and we did have most
`FileAccess` implementations in `core/io` already.
This commit is contained in:
Rémi Verschelde 2021-06-11 14:51:48 +02:00
parent 74b3b0db0e
commit 9e328bb5b7
No known key found for this signature in database
GPG key ID: C3336907360768E1
160 changed files with 183 additions and 183 deletions

View file

@ -30,7 +30,7 @@
#include "crypto_mbedtls.h"
#include "core/os/file_access.h"
#include "core/io/file_access.h"
#include "core/config/engine.h"
#include "core/config/project_settings.h"

View file

@ -31,8 +31,8 @@
#include "packet_peer_mbed_dtls.h"
#include "mbedtls/platform_util.h"
#include "core/io/file_access.h"
#include "core/io/stream_peer_ssl.h"
#include "core/os/file_access.h"
int PacketPeerMbedDTLS::bio_send(void *ctx, const unsigned char *buf, size_t len) {
if (buf == nullptr || len <= 0) {

View file

@ -33,7 +33,7 @@
#include "crypto_mbedtls.h"
#include "core/os/file_access.h"
#include "core/io/file_access.h"
#include "core/object/reference.h"

View file

@ -30,8 +30,8 @@
#include "stream_peer_mbedtls.h"
#include "core/io/file_access.h"
#include "core/io/stream_peer_tcp.h"
#include "core/os/file_access.h"
int StreamPeerMbedTLS::bio_send(void *ctx, const unsigned char *buf, size_t len) {
if (buf == nullptr || len <= 0) {