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"
13namespace Core {
class FileImpl; }
14namespace Core {
class FileOpenMode; }
15namespace Core {
class FlatFileSearchResult; }
16namespace Core {
class PathView; }
17namespace Core {
class Result; }
18namespace Core {
struct DirectoryIterationItem; }
40 MCNAPI ::Core::FlatFileSearchResult
48 bool directoryDeleteEnabled,
49 bool deleteRecursively
59 ::Core::DirectoryIterationFlags flags,
64 ::std::unique_ptr<::Core::FileImpl>& fileOut,
68 ::Core::FileBufferingMode fileBufferingMode
74 bool shouldIncludeParentDir
Definition FileOpenMode.h:7
Definition FlatFileSystemImpl.h:23
MCAPI bool isDirectoryPathAFlatFile(::Core::PathView directoryPath)
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 ~FlatFileSystemImpl()
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 bool shouldAccessFlatFile(::Core::PathView path, ::Core::PathBuffer<::std::string > &manifestFilePath, bool shouldIncludeParentDir)
Definition PathBuffer.h:8
Definition function_ref.h:60
Definition DirectoryIterationItem.h:15