LeviLamina
Loading...
Searching...
No Matches
FileSystemImpl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/file/DirectoryIterationFlags.h"
7#include "mc/deps/core/file/FileAccessType.h"
8#include "mc/deps/core/file/FileBufferingMode.h"
9#include "mc/deps/core/file/FileType.h"
10#include "mc/deps/core/file/PathBuffer.h"
11#include "mc/deps/core/file/file_system/CrossStorageCopyMode.h"
12#include "mc/deps/core/file/file_system/TransactionFlags.h"
13#include "mc/platform/brstd/function_ref.h"
14
15// auto generated forward declare list
16// clang-format off
17namespace Core { class FileImpl; }
18namespace Core { class FileOpenMode; }
19namespace Core { class FileStats; }
20namespace Core { class FileStorageArea; }
21namespace Core { class FlatFileManifestTracker; }
22namespace Core { class PathView; }
23namespace Core { class Result; }
24namespace Core { struct DirectoryIterationItem; }
25namespace Core { struct ExcludedPath; }
26namespace Core { struct PendingWrite; }
27// clang-format on
28
29namespace Core {
30
32public:
33 // member variables
34 // NOLINTBEGIN
45 // NOLINTEND
46
47public:
48 // prevent constructor by default
49 FileSystemImpl& operator=(FileSystemImpl const&);
52
53public:
54 // virtual functions
55 // NOLINTBEGIN
56 // vIndex: 0
57 virtual ~FileSystemImpl() = default;
58
59 // vIndex: 1
60 virtual ::Core::Result getLastModificationTime(::Core::PathView entryPath, int64* lastModificationTime);
61
62 // vIndex: 2
63 virtual ::Core::Result copyTimeAndAccessRights(::Core::PathView sourceFilePath, ::Core::PathView targetFilePath);
64
65 // vIndex: 3
66 virtual void requestFlush(::std::vector<::Core::PendingWrite> const& writeRequests);
67
68 // vIndex: 4
69 virtual bool shouldCommit();
70
71 // vIndex: 5
72 virtual ::Core::CrossStorageCopyMode getCrossStorageCopyMode();
73
74 // vIndex: 6
75 virtual uint64 getTransactionWriteSizeLimit() const;
76
77 // vIndex: 7
78 virtual ::Core::Result _openFile(
79 ::std::unique_ptr<::Core::FileImpl>&,
82 ::Core::FileBufferingMode
83 ) = 0;
84
85 // vIndex: 8
86 virtual bool _fileExists(::Core::PathView) = 0;
87
88 // vIndex: 9
89 virtual ::Core::Result _deleteFile(::Core::PathView) = 0;
90
91 // vIndex: 10
92 virtual ::Core::Result _deleteFilePriority(::Core::PathView filePath);
93
94 // vIndex: 11
95 virtual ::Core::Result _getFileSize(::Core::PathView, uint64*) = 0;
96
97 // vIndex: 12
98 virtual ::Core::Result _renameFile(::Core::PathView, ::Core::PathView) = 0;
99
100 // vIndex: 13
101 virtual ::Core::Result _createEmptyFile(::Core::PathView fileName);
102
103 // vIndex: 14
104 virtual ::Core::Result _copyFile(::Core::PathView sourceFileName, ::Core::PathView targetFileName);
105
106 // vIndex: 15
107 virtual ::Core::Result _copyFileWithLimit(
108 ::Core::PathView sourceFileName,
109 ::Core::PathView targetFileName,
110 uint64 startPosition,
111 uint64& outBytesWritten,
112 uint64& outBytesRemaining
113 );
114
115 // vIndex: 16
116 virtual ::Core::Result _readFileData(::Core::PathView filePath, ::std::vector<uchar>& data);
117
118 // vIndex: 17
119 virtual ::Core::Result _createOneDirectory(::Core::PathView) = 0;
120
121 // vIndex: 18
122 virtual ::Core::Result _createOneDirectoryIfNotExisting(::Core::PathView directoryPath);
123
124 // vIndex: 19
125 virtual ::Core::Result _createDirectoryRecursively(::Core::PathView directoryPath);
126
127 // vIndex: 20
128 virtual bool _directoryExists(::Core::PathView) = 0;
129
130 // vIndex: 21
131 virtual ::Core::Result _deleteEmptyDirectory(::Core::PathView) = 0;
132
133 // vIndex: 22
134 virtual ::Core::Result _deleteDirectoryAndContentsRecursively(::Core::PathView directoryPath);
135
136 // vIndex: 23
137 virtual ::Core::Result _deleteDirectoryContentsRecursively(::Core::PathView directoryPath);
138
139 // vIndex: 24
140 virtual ::Core::Result _deleteRecursively(::Core::PathView directoryPath, ::Core::FileType deleteFileType);
141
142 // vIndex: 25
143 virtual ::Core::Result _renameDirectory(::Core::PathView, ::Core::PathView) = 0;
144
145 // vIndex: 26
146 virtual ::Core::Result _iterateOverDirectory(
148 ::Core::DirectoryIterationFlags,
150 ) = 0;
151
152 // vIndex: 27
153 virtual ::Core::Result
154 _getDirectoryFiles(::std::vector<::Core::PathBuffer<::std::string>>& files, ::Core::PathView directoryPath);
155
156 // vIndex: 28
157 virtual ::Core::Result _getDirectoryFilesRecursively(
158 ::std::vector<::Core::PathBuffer<::std::string>>& filesOut,
159 ::Core::PathView directoryPath
160 );
161
162 // vIndex: 29
163 virtual ::Core::Result _getDirectoryFilesSizeRecursively(uint64& totalSize, ::Core::PathView directoryPath);
164
165 // vIndex: 30
166 virtual ::Core::Result _getDirectoryFilesAllocatedSizeRecursively(
167 uint64& totalSize,
168 uint64& totalSizeAllocated,
169 ::Core::PathView directoryPath
170 );
171
172 // vIndex: 31
173 virtual ::Core::Result
174 _copyDirectoryAndContentsRecursively(::Core::PathView sourceDirectoryPath, ::Core::PathView targetDirectoryPath);
175
176 // vIndex: 32
177 virtual bool _fileOrDirectoryExists(::Core::PathView) = 0;
178
179 // vIndex: 33
180 virtual ::Core::Result _getFileOrDirectorySize(::Core::PathView entryName, uint64* pFileSizeOut);
181
182 // vIndex: 34
183 virtual ::Core::Result _getEntryType(::Core::PathView, ::Core::FileType&) = 0;
184
185 // vIndex: 35
186 virtual ::Core::Result _addIgnoredThrottlePath(::Core::PathView);
187
188 // vIndex: 36
189 virtual ::Core::Result _removeIgnoredThrottlePath(::Core::PathView);
190
191 // vIndex: 37
192 virtual ::Core::Result _createFlatFile(::Core::PathView sourceDirectoryPath, ::Core::PathView targetDirectoryPath);
193
194 // vIndex: 38
195 virtual bool _flatFileFileExists(::Core::PathView filePath, ::Core::PathView manifestPath);
196
197 // vIndex: 39
198 virtual bool _flatFileDirectoryExists(::Core::PathView directoryPath, ::Core::PathView manifestPath);
199
200 // vIndex: 40
201 virtual ::Core::Result _flatFileIterateOverDirectory(
202 ::Core::PathView directoryPath,
203 ::Core::PathView manifestPath,
204 ::Core::DirectoryIterationFlags flags,
206 );
207
208 // vIndex: 41
209 virtual bool _isDirectoryPathAFlatFile(::Core::PathView directoryPath);
210
211 // vIndex: 42
212 virtual ::Core::Result _copyFlatFile(
213 ::Core::PathView sourceDirectoryPath,
214 ::Core::PathView targetDirectoryPath,
215 ::std::vector<::Core::ExcludedPath> const& excludedDirectories,
216 ::std::vector<::Core::ExcludedPath> const& excludedFiles
217 );
218
219 // vIndex: 43
220 virtual ::Core::Result _flatFileDeleteFileOrDirectory(
221 ::Core::PathView fileOrDirectoryPath,
222 ::Core::PathView manifestPath,
223 bool directoryDeleteEnabled,
224 bool deleteRecursively
225 );
226
227 // vIndex: 44
228 virtual ::Core::Result
229 _flatFileGetFileSize(::Core::PathView filePath, ::Core::PathView manifestPath, uint64* pFileSize);
230
231 // vIndex: 45
232 virtual ::Core::Result _getLastModificationTime(::Core::PathView, int64*) = 0;
233
234 // vIndex: 46
235 virtual ::Core::Result _copyTimeAndAccessRights(::Core::PathView, ::Core::PathView) = 0;
236
237 // vIndex: 47
238 virtual ::Core::Result _endTransaction();
239
240 // vIndex: 48
241 virtual ::Core::Result _writeOperation(
242 ::Core::PathView fullPath,
243 ::Core::Result&& result,
244 ::std::function<void(::Core::FileStorageArea*)> observerCallOrNull,
245 uint64 numBytesWritten
246 );
247
248 // vIndex: 49
249 virtual void _initializeInternal();
250 // NOLINTEND
251
252public:
253 // member functions
254 // NOLINTBEGIN
256 ::Core::FileAccessType accessType,
257 ::std::shared_ptr<::Core::FileStorageArea> storageArea,
258 ::Core::TransactionFlags transactionFlags,
259 ::std::shared_ptr<::Core::FlatFileManifestTracker> manifestTracker
260 );
261
262 MCNAPI ::Core::Result _flatFileOpenFlatFile(
263 ::std::unique_ptr<::Core::FileImpl>& fileOut,
264 ::Core::PathView filePath,
265 ::Core::PathView manifestPath,
266 ::Core::FileOpenMode openMode,
267 ::Core::FileBufferingMode fileBufferingMode
268 );
269
270 MCNAPI ::Core::Result _flatFileUnloadManifest(::Core::PathView filePath);
271
272 MCNAPI ::Core::Result _readOperation(::Core::Result&& result, uint64 numBytesRead);
273
274 MCNAPI ::Core::Result _readWriteOperation(
275 ::Core::Result&& result,
276 ::std::function<void(::Core::FileStorageArea*)> observerCallOrNull,
277 uint64 numBytesRead,
278 uint64 numBytesWritten
279 );
280
281 MCNAPI ::Core::Result commit();
282
283 MCNAPI ::Core::Result
285
286 MCNAPI ::Core::Result copyFile(::Core::PathView sourceFilePath, ::Core::PathView targetFilePath);
287
288 MCNAPI ::Core::Result copyFileWithLimit(
289 ::Core::PathView sourceFileName,
290 ::Core::PathView targetFileName,
291 uint64 startPosition,
292 uint64& outBytesWritten,
293 uint64& outBytesRemaining
294 );
295
296 MCNAPI ::Core::Result createDirectoryRecursively(::Core::PathView directoryPath);
297
298 MCNAPI ::Core::Result createEmptyFile(::Core::PathView filePath);
299
300 MCNAPI ::Core::Result createOneDirectory(::Core::PathView directoryPath);
301
302 MCNAPI ::Core::Result createOneDirectoryIfNotExisting(::Core::PathView directoryPath);
303
304 MCNAPI ::Core::Result deleteDirectoryAndContentsRecursively(::Core::PathView directoryPath);
305
306 MCNAPI ::Core::Result deleteDirectoryContentsRecursively(::Core::PathView directoryPath);
307
308 MCNAPI ::Core::Result deleteEmptyDirectory(::Core::PathView directoryPath);
309
310 MCNAPI ::Core::Result deleteFile(::Core::PathView filePath);
311
312 MCNAPI ::Core::Result deleteFilePriority(::Core::PathView filePath);
313
314 MCNAPI bool directoryExists(::Core::PathView directoryPath);
315
316 MCNAPI bool fileExists(::Core::PathView filePath);
317
319
320 MCNAPI ::Core::Result getFileSize(::Core::PathView filePath, uint64* pFileSize);
321
322 MCNAPI bool isDirectoryPathAFlatFile(::Core::PathView directoryPath);
323
324 MCNAPI ::Core::Result iterateOverDirectory(
325 ::Core::PathView directoryPath,
326 ::Core::DirectoryIterationFlags flags,
328 );
329
330 MCNAPI ::Core::Result openFile(
331 ::std::unique_ptr<::Core::FileImpl>& fileOut,
332 ::Core::PathView filePath,
333 ::Core::FileOpenMode openMode,
334 ::Core::FileBufferingMode fileBufferingMode
335 );
336
337 MCNAPI ::Core::Result renameDirectory(::Core::PathView sourceDirectoryPath, ::Core::PathView targetDirectoryPath);
338
339 MCNAPI ::Core::Result renameFile(::Core::PathView sourceFilePath, ::Core::PathView targetFilePath);
340 // NOLINTEND
341
342public:
343 // static functions
344 // NOLINTBEGIN
345 MCNAPI static ::Core::Result isValidPath(::Core::PathView path);
346 // NOLINTEND
347
348public:
349 // static variables
350 // NOLINTBEGIN
351 MCNAPI static ::Core::FileStats& sStats();
352 // NOLINTEND
353
354public:
355 // constructor thunks
356 // NOLINTBEGIN
357 MCNAPI void* $ctor(
358 ::Core::FileAccessType accessType,
359 ::std::shared_ptr<::Core::FileStorageArea> storageArea,
360 ::Core::TransactionFlags transactionFlags,
361 ::std::shared_ptr<::Core::FlatFileManifestTracker> manifestTracker
362 );
363 // NOLINTEND
364
365public:
366 // virtual function thunks
367 // NOLINTBEGIN
368 MCNAPI ::Core::Result $getLastModificationTime(::Core::PathView entryPath, int64* lastModificationTime);
369
370 MCNAPI ::Core::Result $copyTimeAndAccessRights(::Core::PathView sourceFilePath, ::Core::PathView targetFilePath);
371
372 MCNAPI void $requestFlush(::std::vector<::Core::PendingWrite> const& writeRequests);
373
374 MCNAPI bool $shouldCommit();
375
376 MCNAPI ::Core::CrossStorageCopyMode $getCrossStorageCopyMode();
377
378 MCNAPI uint64 $getTransactionWriteSizeLimit() const;
379
380 MCNAPI ::Core::Result $_deleteFilePriority(::Core::PathView filePath);
381
382 MCNAPI ::Core::Result $_createEmptyFile(::Core::PathView fileName);
383
384 MCNAPI ::Core::Result $_copyFile(::Core::PathView sourceFileName, ::Core::PathView targetFileName);
385
386 MCNAPI ::Core::Result $_copyFileWithLimit(
387 ::Core::PathView sourceFileName,
388 ::Core::PathView targetFileName,
389 uint64 startPosition,
390 uint64& outBytesWritten,
391 uint64& outBytesRemaining
392 );
393
394 MCNAPI ::Core::Result $_readFileData(::Core::PathView filePath, ::std::vector<uchar>& data);
395
396 MCNAPI ::Core::Result $_createOneDirectoryIfNotExisting(::Core::PathView directoryPath);
397
398 MCNAPI ::Core::Result $_createDirectoryRecursively(::Core::PathView directoryPath);
399
400 MCNAPI ::Core::Result $_deleteDirectoryAndContentsRecursively(::Core::PathView directoryPath);
401
402 MCNAPI ::Core::Result $_deleteDirectoryContentsRecursively(::Core::PathView directoryPath);
403
404 MCNAPI ::Core::Result $_deleteRecursively(::Core::PathView directoryPath, ::Core::FileType deleteFileType);
405
406 MCNAPI ::Core::Result
408
409 MCNAPI ::Core::Result $_getDirectoryFilesRecursively(
410 ::std::vector<::Core::PathBuffer<::std::string>>& filesOut,
411 ::Core::PathView directoryPath
412 );
413
414 MCNAPI ::Core::Result $_getDirectoryFilesSizeRecursively(uint64& totalSize, ::Core::PathView directoryPath);
415
417 uint64& totalSize,
418 uint64& totalSizeAllocated,
419 ::Core::PathView directoryPath
420 );
421
422 MCNAPI ::Core::Result
424
425 MCNAPI ::Core::Result $_getFileOrDirectorySize(::Core::PathView entryName, uint64* pFileSizeOut);
426
428
430
431 MCNAPI ::Core::Result $_createFlatFile(::Core::PathView sourceDirectoryPath, ::Core::PathView targetDirectoryPath);
432
433 MCNAPI bool $_flatFileFileExists(::Core::PathView filePath, ::Core::PathView manifestPath);
434
435 MCNAPI bool $_flatFileDirectoryExists(::Core::PathView directoryPath, ::Core::PathView manifestPath);
436
437 MCNAPI ::Core::Result $_flatFileIterateOverDirectory(
438 ::Core::PathView directoryPath,
439 ::Core::PathView manifestPath,
440 ::Core::DirectoryIterationFlags flags,
442 );
443
445
446 MCNAPI ::Core::Result $_copyFlatFile(
447 ::Core::PathView sourceDirectoryPath,
448 ::Core::PathView targetDirectoryPath,
449 ::std::vector<::Core::ExcludedPath> const& excludedDirectories,
450 ::std::vector<::Core::ExcludedPath> const& excludedFiles
451 );
452
453 MCNAPI ::Core::Result $_flatFileDeleteFileOrDirectory(
454 ::Core::PathView fileOrDirectoryPath,
455 ::Core::PathView manifestPath,
456 bool directoryDeleteEnabled,
457 bool deleteRecursively
458 );
459
460 MCNAPI ::Core::Result
461 $_flatFileGetFileSize(::Core::PathView filePath, ::Core::PathView manifestPath, uint64* pFileSize);
462
463 MCNAPI ::Core::Result $_endTransaction();
464
465 MCNAPI ::Core::Result $_writeOperation(
466 ::Core::PathView fullPath,
467 ::Core::Result&& result,
468 ::std::function<void(::Core::FileStorageArea*)> observerCallOrNull,
469 uint64 numBytesWritten
470 );
471
472 MCNAPI void $_initializeInternal();
473 // NOLINTEND
474
475public:
476 // vftables
477 // NOLINTBEGIN
478 MCNAPI static void** $vftable();
479 // NOLINTEND
480};
481
482} // namespace Core
Definition FileOpenMode.h:7
Definition FileStorageArea.h:24
Definition FileSystemImpl.h:31
MCAPI::Core::Result renameDirectory(::Core::PathView sourceDirectoryPath, ::Core::PathView targetDirectoryPath)
MCAPI void $requestFlush(::std::vector<::Core::PendingWrite > const &writeRequests)
MCAPI bool isDirectoryPathAFlatFile(::Core::PathView directoryPath)
MCAPI::Core::Result $_deleteDirectoryAndContentsRecursively(::Core::PathView directoryPath)
MCAPI::Core::Result $_removeIgnoredThrottlePath(::Core::PathView)
MCAPI::Core::Result $_createEmptyFile(::Core::PathView fileName)
MCAPI bool fileOrDirectoryExists(::Core::PathView entryPath)
static MCAPI ::Core::Result isValidPath(::Core::PathView path)
MCAPI bool directoryExists(::Core::PathView directoryPath)
MCAPI bool $_flatFileDirectoryExists(::Core::PathView directoryPath, ::Core::PathView manifestPath)
MCAPI::Core::Result _flatFileOpenFlatFile(::std::unique_ptr<::Core::FileImpl > &fileOut, ::Core::PathView filePath, ::Core::PathView manifestPath, ::Core::FileOpenMode openMode, ::Core::FileBufferingMode fileBufferingMode)
MCAPI::Core::Result $_readFileData(::Core::PathView filePath, ::std::vector< uchar > &data)
MCAPI::Core::Result $_copyFileWithLimit(::Core::PathView sourceFileName, ::Core::PathView targetFileName, uint64 startPosition, uint64 &outBytesWritten, uint64 &outBytesRemaining)
MCAPI bool fileExists(::Core::PathView filePath)
MCAPI::Core::Result $_addIgnoredThrottlePath(::Core::PathView)
MCAPI::Core::Result $_endTransaction()
MCAPI::Core::Result $_createDirectoryRecursively(::Core::PathView directoryPath)
MCAPI::Core::Result $_deleteDirectoryContentsRecursively(::Core::PathView directoryPath)
MCAPI::Core::Result _readOperation(::Core::Result &&result, uint64 numBytesRead)
MCAPI::Core::Result $_createOneDirectoryIfNotExisting(::Core::PathView directoryPath)
MCAPI void * $ctor(::Core::FileAccessType accessType, ::std::shared_ptr<::Core::FileStorageArea > storageArea, ::Core::TransactionFlags transactionFlags, ::std::shared_ptr<::Core::FlatFileManifestTracker > manifestTracker)
MCAPI::Core::Result iterateOverDirectory(::Core::PathView directoryPath, ::Core::DirectoryIterationFlags flags, ::brstd::function_ref<::Core::Result(::Core::DirectoryIterationItem const &)> callbackFunction)
MCAPI::Core::Result $_getDirectoryFilesSizeRecursively(uint64 &totalSize, ::Core::PathView directoryPath)
MCAPI::Core::Result $_deleteRecursively(::Core::PathView directoryPath, ::Core::FileType deleteFileType)
MCAPI bool $_flatFileFileExists(::Core::PathView filePath, ::Core::PathView manifestPath)
MCAPI void $_initializeInternal()
MCAPI::Core::Result $_getDirectoryFiles(::std::vector<::Core::PathBuffer<::std::string > > &files, ::Core::PathView directoryPath)
MCAPI::Core::Result $_copyFile(::Core::PathView sourceFileName, ::Core::PathView targetFileName)
MCAPI::Core::Result commit()
MCAPI::Core::CrossStorageCopyMode $getCrossStorageCopyMode()
MCAPI::Core::Result createOneDirectoryIfNotExisting(::Core::PathView directoryPath)
MCAPI::Core::Result $_flatFileIterateOverDirectory(::Core::PathView directoryPath, ::Core::PathView manifestPath, ::Core::DirectoryIterationFlags flags, ::brstd::function_ref<::Core::Result(::Core::DirectoryIterationItem const &)> callbackFunction)
MCAPI::Core::Result $_flatFileGetFileSize(::Core::PathView filePath, ::Core::PathView manifestPath, uint64 *pFileSize)
MCAPI::Core::Result $getLastModificationTime(::Core::PathView entryPath, int64 *lastModificationTime)
MCAPI::Core::Result $_getDirectoryFilesAllocatedSizeRecursively(uint64 &totalSize, uint64 &totalSizeAllocated, ::Core::PathView directoryPath)
MCAPI::Core::Result $_writeOperation(::Core::PathView fullPath, ::Core::Result &&result, ::std::function< void(::Core::FileStorageArea *)> observerCallOrNull, uint64 numBytesWritten)
MCAPI::Core::Result copyFile(::Core::PathView sourceFilePath, ::Core::PathView targetFilePath)
MCAPI::Core::Result getFileSize(::Core::PathView filePath, uint64 *pFileSize)
MCAPI::Core::Result _readWriteOperation(::Core::Result &&result, ::std::function< void(::Core::FileStorageArea *)> observerCallOrNull, uint64 numBytesRead, uint64 numBytesWritten)
MCAPI::Core::Result createEmptyFile(::Core::PathView filePath)
MCAPI::Core::Result _flatFileUnloadManifest(::Core::PathView filePath)
MCAPI::Core::Result openFile(::std::unique_ptr<::Core::FileImpl > &fileOut, ::Core::PathView filePath, ::Core::FileOpenMode openMode, ::Core::FileBufferingMode fileBufferingMode)
static MCAPI void ** $vftable()
MCAPI::Core::Result renameFile(::Core::PathView sourceFilePath, ::Core::PathView targetFilePath)
MCAPI::Core::Result deleteDirectoryContentsRecursively(::Core::PathView directoryPath)
MCAPI::Core::Result $copyTimeAndAccessRights(::Core::PathView sourceFilePath, ::Core::PathView targetFilePath)
MCAPI::Core::Result $_getFileOrDirectorySize(::Core::PathView entryName, uint64 *pFileSizeOut)
MCAPI FileSystemImpl(::Core::FileAccessType accessType, ::std::shared_ptr<::Core::FileStorageArea > storageArea, ::Core::TransactionFlags transactionFlags, ::std::shared_ptr<::Core::FlatFileManifestTracker > manifestTracker)
static MCAPI ::Core::FileStats & sStats()
MCAPI::Core::Result $_copyFlatFile(::Core::PathView sourceDirectoryPath, ::Core::PathView targetDirectoryPath, ::std::vector<::Core::ExcludedPath > const &excludedDirectories, ::std::vector<::Core::ExcludedPath > const &excludedFiles)
MCAPI::Core::Result copyFileWithLimit(::Core::PathView sourceFileName, ::Core::PathView targetFileName, uint64 startPosition, uint64 &outBytesWritten, uint64 &outBytesRemaining)
MCAPI::Core::Result $_createFlatFile(::Core::PathView sourceDirectoryPath, ::Core::PathView targetDirectoryPath)
MCAPI::Core::Result deleteDirectoryAndContentsRecursively(::Core::PathView directoryPath)
MCAPI::Core::Result $_getDirectoryFilesRecursively(::std::vector<::Core::PathBuffer<::std::string > > &filesOut, ::Core::PathView directoryPath)
MCAPI::Core::Result deleteFilePriority(::Core::PathView filePath)
MCAPI::Core::Result $_flatFileDeleteFileOrDirectory(::Core::PathView fileOrDirectoryPath, ::Core::PathView manifestPath, bool directoryDeleteEnabled, bool deleteRecursively)
MCAPI::Core::Result createOneDirectory(::Core::PathView directoryPath)
MCAPI::Core::Result copyDirectoryAndContentsRecursively(::Core::PathView sourceDirectoryPath, ::Core::PathView targetDirectoryPath)
MCAPI bool $_isDirectoryPathAFlatFile(::Core::PathView directoryPath)
MCAPI::Core::Result $_deleteFilePriority(::Core::PathView filePath)
MCAPI::Core::Result deleteEmptyDirectory(::Core::PathView directoryPath)
MCAPI uint64 $getTransactionWriteSizeLimit() const
MCAPI::Core::Result $_copyDirectoryAndContentsRecursively(::Core::PathView sourceDirectoryPath, ::Core::PathView targetDirectoryPath)
MCAPI::Core::Result deleteFile(::Core::PathView filePath)
MCAPI::Core::Result createDirectoryRecursively(::Core::PathView directoryPath)
MCAPI bool $shouldCommit()
Definition PathBuffer.h:8
Definition PathView.h:16
Definition Result.h:13
Definition function_ref.h:60
Definition DirectoryIterationItem.h:15
Definition Alias.h:14