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 copyDirectory(
19 ::Core::FileSystemImpl* pSourceTransaction,
20 ::Core::PathView sourceDirectoryPath,
21 ::Core::FileSystemImpl* pTargetTransaction,
22 ::Core::PathView targetDirectoryPath
23 );
24
25 MCNAPI static ::Core::Result copyFile(
26 ::Core::FileSystemImpl* pSourceTransaction,
27 ::Core::PathView sourceFilePath,
28 ::Core::FileSystemImpl* pTargetTransaction,
29 ::Core::PathView targetFilePath
30 );
31
32 MCNAPI static ::Core::Result copyFileWithLimit(
33 ::Core::FileSystemImpl* pSourceTransaction,
34 ::Core::PathView sourceFilePath,
35 ::Core::FileSystemImpl* pTargetTransaction,
36 ::Core::PathView targetFilePath,
37 uint64 startPosition,
38 uint64& outBytesWritten,
39 uint64& outBytesRemaining
40 );
41
42 MCNAPI static ::Core::Result moveDirectory(
43 ::Core::FileSystemImpl* pSourceTransaction,
44 ::Core::PathView sourceDirectoryPath,
45 ::Core::FileSystemImpl* pTargetTransaction,
46 ::Core::PathView targetDirectoryPath
47 );
48
49 MCNAPI static ::Core::Result moveFile(
50 ::Core::FileSystemImpl* pSourceTransaction,
51 ::Core::PathView sourceFilePath,
52 ::Core::FileSystemImpl* pTargetTransaction,
53 ::Core::PathView targetFilePath
54 );
55 // NOLINTEND
56};
57
58} // 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 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:15