|
Libmagicxx v10.0.3
A modern C++23 wrapper for libmagic — the library that powers the Unix file command.
|
Instance lifecycle management. More...

Functions | |
| bool | Recognition::Magic::MagicPrivate::Compile (const std::filesystem::path &database_file) const noexcept |
| Compile a magic database from source. | |
Instance lifecycle management.
Methods for compiling databases and controlling instance state.
|
inlinenodiscardnoexcept |
Compile a magic database from source.
Compiles magic source files into binary format by calling magic_compile() from libmagic. The compiled output file is named by appending ".mgc" to the source filename.
| [in] | database_file | Path to the database source file. |