Skip to main content

Get archiving settings structure

Gets a structure with additional data archiving settings

Function GetArchivingSettingsStructure(Val Clear = False, Val AsMap = False) Export

ParameterCLI optionTypeRequiredDescription
Clear--emptyBooleanTrue > structure with empty valuse, False > field descriptions at values
AsMap--mapBooleanTrue > returns the filter fields as a map
Returns

Structure Of KeyAndValue - Fields structure

1C:Enterprise/OneScript code example
Result = OPI_7z.GetArchivingSettingsStructure();
oint 7z GetArchivingSettingsStructure \
--empty true
Result
{
"password": "***",
"method": "<compression method: Lzma2 (by default), Lzma, Bzip2, Ppmd, Copy>",
"level": "<compression level: 0-9 (6 by default.)>",
"solid": "<single-threaded compression: True/False (by default.)>",
"encrypt_header": "<encrypt header: True (by default, if password is present)/False>",
"threads": "<number of threads for LZMA2 (by default 1)>",
"chunk_size": "<chunk size when threads > 1>",
"dictionary_size": "<LZMA2 dictionary size>",
"ppmd_order": "<model order (for Ppmd)>",
"ppmd_memory": "<memory in bytes (for Ppmd)>",
"filters": "<array of filters: X86, PPC, IA64, ARM, ARM64, ARM_THUMB, SPARC, RISCV, DELTA>",
"delta_distance": "<distance for DELTA filter, if used (by default 1)>"
}