btu::modmanager::ModFolder class

Public types

enum class ArchiveTooLargeAction { }
enum class ArchiveTooLargeState { }

Constructors, destructors, conversion operators

ModFolder(Path directory, bsa::Settings bsa_settings, bool ignore_existing_archives = false) explicit

Public functions

void iterate(ModFolderIterator& iterator) noexcept
auto name() const →  std::u8string noexcept
auto path() const →  const Path& noexcept
auto size() →  size_t noexcept
void transform(ModFolderTransformer& transformer) noexcept

Function documentation

void btu::modmanager::ModFolder::iterate(ModFolderIterator& iterator) noexcept

Iterate over all files in the folder, including files in archives. Multithreaded.

size_t btu::modmanager::ModFolder::size() noexcept

Get the size of the folder, including files in archives. Utility function, equivalent to iterate() and counting the files.

void btu::modmanager::ModFolder::transform(ModFolderTransformer& transformer) noexcept

Transform all files in the folder, including files in archives. Multithreaded.