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 MCNAPI static ::Core::Result _copyFileSection(
19 ::Core::FileSystemImpl* pSourceTransaction,
20 ::Core::PathView sourceFilePath,
21 ::Core::FileSystemImpl* pTargetTransaction,
22 ::Core::PathView targetFilePath,
23 uint64 startPosition,
24 uint64 sectionSize,
25 uint64& outBytesWritten,
26 uint64& outBytesRemaining
27 );
28
29 MCNAPI static ::Core::Result copyDirectory(
30 ::Core::FileSystemImpl* pSourceTransaction,
31 ::Core::PathView sourceDirectoryPath,
32 ::Core::FileSystemImpl* pTargetTransaction,
33 ::Core::PathView targetDirectoryPath
34 );
35
36 MCNAPI static ::Core::Result copyFile(
37 ::Core::FileSystemImpl* pSourceTransaction,
38 ::Core::PathView sourceFilePath,
39 ::Core::FileSystemImpl* pTargetTransaction,
40 ::Core::PathView targetFilePath
41 );
42
43 MCNAPI static ::Core::Result copyFileWithLimit(
44 ::Core::FileSystemImpl* pSourceTransaction,
45 ::Core::PathView sourceFilePath,
46 ::Core::FileSystemImpl* pTargetTransaction,
47 ::Core::PathView targetFilePath,
48 uint64 startPosition,
49 uint64& outBytesWritten,
50 uint64& outBytesRemaining
51 );
52
53 MCNAPI static ::Core::Result moveDirectory(
54 ::Core::FileSystemImpl* pSourceTransaction,
55 ::Core::PathView sourceDirectoryPath,
56 ::Core::FileSystemImpl* pTargetTransaction,
57 ::Core::PathView targetDirectoryPath
58 );
59
60 MCNAPI static ::Core::Result moveFile(
61 ::Core::FileSystemImpl* pSourceTransaction,
62 ::Core::PathView sourceFilePath,
63 ::Core::FileSystemImpl* pTargetTransaction,
64 ::Core::PathView targetFilePath
65 );
66 // NOLINTEND
67};
68
69} // namespace Core
Definition BufferedFileOperations.h:14
static MCAPI ::Core::Result _copyFileSection(::Core::FileSystemImpl *pSourceTransaction, ::Core::PathView sourceFilePath, ::Core::FileSystemImpl *pTargetTransaction, ::Core::PathView targetFilePath, uint64 startPosition, uint64 sectionSize, uint64 &outBytesWritten, uint64 &outBytesRemaining)
static MCAPI ::Core::Result moveFile(::Core::FileSystemImpl *pSourceTransaction, ::Core::PathView sourceFilePath, ::Core::FileSystemImpl *pTargetTransaction, ::Core::PathView targetFilePath)
static MCAPI ::Core::Result moveDirectory(::Core::FileSystemImpl *pSourceTransaction, ::Core::PathView sourceDirectoryPath, ::Core::FileSystemImpl *pTargetTransaction, ::Core::PathView targetDirectoryPath)
static MCAPI ::Core::Result copyDirectory(::Core::FileSystemImpl *pSourceTransaction, ::Core::PathView sourceDirectoryPath, ::Core::FileSystemImpl *pTargetTransaction, ::Core::PathView targetDirectoryPath)
static MCAPI ::Core::Result copyFileWithLimit(::Core::FileSystemImpl *pSourceTransaction, ::Core::PathView sourceFilePath, ::Core::FileSystemImpl *pTargetTransaction, ::Core::PathView targetFilePath, uint64 startPosition, uint64 &outBytesWritten, uint64 &outBytesRemaining)
static MCAPI ::Core::Result copyFile(::Core::FileSystemImpl *pSourceTransaction, ::Core::PathView sourceFilePath, ::Core::FileSystemImpl *pTargetTransaction, ::Core::PathView targetFilePath)
Definition FileSystemImpl.h:30
Definition PathView.h:17
Definition Result.h:11