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 const startPosition,
24 uint64 const sectionSize,
25 uint64& outBytesWritten,
26 uint64& outBytesRemaining
27 );
28
29 MCNAPI static ::Core::Result copyFile(
30 ::Core::FileSystemImpl* pSourceTransaction,
31 ::Core::PathView sourceFilePath,
32 ::Core::FileSystemImpl* pTargetTransaction,
33 ::Core::PathView targetFilePath
34 );
35
36 MCNAPI static ::Core::Result copyFileWithLimit(
37 ::Core::FileSystemImpl* pSourceTransaction,
38 ::Core::PathView sourceFilePath,
39 ::Core::FileSystemImpl* pTargetTransaction,
40 ::Core::PathView targetFilePath,
41 uint64 startPosition,
42 uint64& outBytesWritten,
43 uint64& outBytesRemaining
44 );
45
46 MCNAPI static ::Core::Result moveFile(
47 ::Core::FileSystemImpl* pSourceTransaction,
48 ::Core::PathView sourceFilePath,
49 ::Core::FileSystemImpl* pTargetTransaction,
50 ::Core::PathView targetFilePath
51 );
52 // NOLINTEND
53};
54
55} // namespace Core
Definition BufferedFileOperations.h:14
static MCAPI ::Core::Result moveFile(::Core::FileSystemImpl *pSourceTransaction, ::Core::PathView sourceFilePath, ::Core::FileSystemImpl *pTargetTransaction, ::Core::PathView targetFilePath)
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)
static MCAPI ::Core::Result _copyFileSection(::Core::FileSystemImpl *pSourceTransaction, ::Core::PathView sourceFilePath, ::Core::FileSystemImpl *pTargetTransaction, ::Core::PathView targetFilePath, uint64 const startPosition, uint64 const sectionSize, uint64 &outBytesWritten, uint64 &outBytesRemaining)
Definition FileSystemImpl.h:30
Definition PathView.h:19
Definition Result.h:11