3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/file/DirectoryIterationFlags.h"
7#include "mc/deps/core/file/FileBufferingMode.h"
8#include "mc/deps/core/file/PathBuffer.h"
9#include "mc/platform/brstd/function_ref.h"
17namespace Core {
class Result; }
24class FlatFileSystemImpl {
34 FlatFileSystemImpl& operator=(FlatFileSystemImpl
const&);
35 FlatFileSystemImpl(FlatFileSystemImpl
const&);
41 MCNAPI ::Core::FlatFileSearchResult
47 uint64& seekPositionOut,
54 ::std::vector<::Core::ExcludedPath>
const& excludedDirectories,
55 ::std::vector<::Core::ExcludedPath>
const& excludedFiles
63 bool directoryDeleteEnabled,
64 bool deleteRecursively
74 ::Core::DirectoryIterationFlags flags,
79 ::std::unique_ptr<::Core::FileImpl>& fileOut,
83 ::Core::FileBufferingMode fileBufferingMode
89 bool shouldIncludeParentDir
Definition FileOpenMode.h:7
Definition FlatFileSearchResult.h:7
MCAPI bool isDirectoryPathAFlatFile(::Core::PathView directoryPath)
MCAPI::Core::Result _getSeekPositionAndSize(::Core::PathView filePath, ::Core::PathView manifestPath, uint64 &seekPositionOut, uint64 &fileSizeOut)
MCAPI::Core::Result deleteFileOrDirectory(::Core::PathView fileOrDirectoryPath, ::Core::PathView manifestPath, bool directoryDeleteEnabled, bool deleteRecursively)
MCAPI::Core::Result createFlatFile(::Core::PathView sourceDirectoryPath, ::Core::PathView targetDirectoryPath)
MCAPI bool fileOrDirectoryExists(::Core::PathView path, ::Core::PathView manifestPath)
MCAPI::Core::Result iterateOverDirectory(::Core::PathView directoryPath, ::Core::PathView manifestPath, ::Core::DirectoryIterationFlags flags, ::brstd::function_ref<::Core::Result(::Core::DirectoryIterationItem const &)> callbackFunction)
MCAPI::Core::FlatFileSearchResult _findFileOrDirectoryEntry(::Core::PathView filePath, ::Core::PathView manifestPath, bool skipDeleted)
MCAPI::Core::Result openFlatFile(::std::unique_ptr<::Core::FileImpl > &fileOut, ::Core::PathView filePath, ::Core::PathView manifestPath, ::Core::FileOpenMode openMode, ::Core::FileBufferingMode fileBufferingMode)
MCAPI::Core::Result copyFlatFile(::Core::PathView sourceDirectoryPath, ::Core::PathView targetDirectoryPath, ::std::vector<::Core::ExcludedPath > const &excludedDirectories, ::std::vector<::Core::ExcludedPath > const &excludedFiles)
MCAPI bool shouldAccessFlatFile(::Core::PathView path, ::Core::PathBuffer<::std::string > &manifestFilePath, bool shouldIncludeParentDir)
Definition PathBuffer.h:8
Definition function_ref.h:60
Definition DirectoryIterationItem.h:12
Definition ExcludedPath.h:7