LeviLamina
Loading...
Searching...
No Matches
ZipUtility.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/file/FileBufferingMode.h"
7
#include "mc/deps/core/file/IZipUtility.h"
8
#include "mc/deps/core/file/PathBuffer.h"
9
#include "mc/platform/Result.h"
10
11
// auto generated forward declare list
12
// clang-format off
13
namespace
Core {
class
Path
; }
14
namespace
Core {
class
PathView; }
15
namespace
Core::ZipUtils {
class
UnzipSettings; }
16
namespace
Core::ZipUtils {
class
ZipProgress; }
17
namespace
Core::ZipUtils {
class
ZipSettings; }
18
// clang-format on
19
20
namespace
Core::ZipUtils {
21
22
class
ZipUtility
:
public
::Core::ZipUtils::IZipUtility
{
23
public
:
24
// virtual functions
25
// NOLINTBEGIN
26
// vIndex: 2
27
virtual ::Bedrock::Result<void>
28
zip
(
::Core::Path
const
&,
29
::Core::Path
const
&,
30
::Core::ZipUtils::ZipProgress
&,
31
bool
,
32
::Core::ZipUtils::ZipSettings
const
&)
const
/*override*/
;
33
34
// vIndex: 1
35
virtual ::Bedrock::Result<void>
36
zip
(::std::vector<
::Core::PathBuffer<::std::string>
>
const
&,
37
::Core::PathView
,
38
::Core::ZipUtils::ZipProgress
&,
39
bool
,
40
::std::function<::std::string(
::Core::PathView
)>,
41
::Core::ZipUtils::ZipSettings
const
&)
const
/*override*/
;
42
43
// vIndex: 3
44
virtual ::Bedrock::Result<void> unzipInTransaction(
45
::Core::Path
const
&,
46
::Core::Path
const
&,
47
::Core::ZipUtils::ZipProgress
&,
48
bool
,
49
::Core::ZipUtils::UnzipSettings
const
&
50
)
const
/*override*/
;
51
52
// vIndex: 4
53
virtual ::Bedrock::Result<void> unzipToFlatFile(
54
::Core::Path
const
&,
55
::Core::Path
const
&,
56
::Core::ZipUtils::ZipProgress
&,
57
::Core::FileBufferingMode,
58
::Core::ZipUtils::UnzipSettings
const
&
59
)
const
/*override*/
;
60
61
// vIndex: 5
62
virtual
bool
getFilenames(
63
::Core::Path
const
&,
64
::std::vector<
::Core::PathBuffer<::std::string>
>&,
65
::Core::ZipUtils::UnzipSettings
const
&
66
)
const
/*override*/
;
67
68
// vIndex: 6
69
virtual
bool
exists(
::Core::Path
const
&,
::Core::Path
const
&,
::Core::ZipUtils::UnzipSettings
const
&)
const
70
/*override*/
;
71
72
// vIndex: 0
73
virtual
~ZipUtility
()
/*override*/
=
default
;
74
// NOLINTEND
75
76
public
:
77
// virtual function thunks
78
// NOLINTBEGIN
79
80
// NOLINTEND
81
};
82
83
}
// namespace Core::ZipUtils
Core::PathBuffer
Definition
PathBuffer.h:8
Core::PathView
Definition
PathView.h:15
Core::Path
Definition
Path.h:11
Core::ZipUtils::IZipUtility
Definition
IZipUtility.h:21
Core::ZipUtils::UnzipSettings
Definition
UnzipSettings.h:7
Core::ZipUtils::ZipProgress
Definition
ZipProgress.h:7
Core::ZipUtils::ZipSettings
Definition
ZipSettings.h:7
Core::ZipUtils::ZipUtility
Definition
ZipUtility.h:22
Path
Definition
Path.h:16
zip
Definition
zip.h:5
src-server
mc
deps
core
file
ZipUtility.h
Generated on Sun Oct 12 2025 06:31:23 for LeviLamina by
1.12.0