LeviLamina
Loading...
Searching...
No Matches
BufferedFileOperations.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Core { class FileSystemImpl; }
8namespace Core { class PathView; }
9namespace Core { class Result; }
10// clang-format on
11
12namespace Core {
13
15public:
16 // static functions
17 // NOLINTBEGIN
18 MCAPI static ::Core::Result copyFile(
19 ::Core::FileSystemImpl* pSourceTransaction,
20 ::Core::PathView sourceFilePath,
21 ::Core::FileSystemImpl* pTargetTransaction,
22 ::Core::PathView targetFilePath
23 );
24
25 MCAPI static ::Core::Result copyFileWithLimit(
26 ::Core::FileSystemImpl* pSourceTransaction,
27 ::Core::PathView sourceFilePath,
28 ::Core::FileSystemImpl* pTargetTransaction,
29 ::Core::PathView targetFilePath,
30 uint64 startPosition,
31 uint64& outBytesWritten,
32 uint64& outBytesRemaining
33 );
34
35 MCAPI static ::Core::Result moveDirectory(
36 ::Core::FileSystemImpl* pSourceTransaction,
37 ::Core::PathView sourceDirectoryPath,
38 ::Core::FileSystemImpl* pTargetTransaction,
39 ::Core::PathView targetDirectoryPath
40 );
41
42 MCAPI static ::Core::Result moveFile(
43 ::Core::FileSystemImpl* pSourceTransaction,
44 ::Core::PathView sourceFilePath,
45 ::Core::FileSystemImpl* pTargetTransaction,
46 ::Core::PathView targetFilePath
47 );
48 // NOLINTEND
49};
50
51} // namespace Core
Definition BufferedFileOperations.h:14
Definition FileSystemImpl.h:31
Definition PathView.h:16
Definition Result.h:6