1 | import { ini } from 'mrm-core';
|
2 | import { KeyValuePair } from '../Base/KeyValuePair';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | export declare class IniFile extends KeyValuePair {
|
15 | filePointer: ReturnType<typeof ini>;
|
16 | constructor(basePath: string, filename: string);
|
17 | /**
|
18 | * Handling the onmerge action. This method is called by
|
19 | * the `commit` method.
|
20 | */
|
21 | onmerge(lifecycle: string, body: any): true | undefined;
|
22 | /**
|
23 | * Merge to the section values of an ini file.
|
24 | *
|
25 | * @example
|
26 | * ```ts
|
27 | * ini.merge('root', { indent_style: space })
|
28 | * ```
|
29 | */
|
30 | merge(section: string, values: any): this;
|
31 | }
|