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