Skip to content

Skeudenn / main/db/path-roots / RootsStore

Interface: RootsStore ​

Defined in: src/main/db/path-roots.ts:28

Where the folder ids' paths on this machine are kept between two runs.

Methods ​

load() ​

load(): Record<string, string>

Defined in: src/main/db/path-roots.ts:30

The path of each folder id on this machine.

Returns ​

Record<string, string>


save() ​

save(roots): void

Defined in: src/main/db/path-roots.ts:32

Replaces what is kept.

Parameters ​

roots ​

Record<string, string>

Returns ​

void