Skip to content

Tankōbon / main/db/path-roots / RootsStore

Interface: RootsStore ​

Defined in: main/db/path-roots.ts:26

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

Methods ​

load() ​

load(): Record<string, string>

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

The path of each folder id on this machine.

Returns ​

Record<string, string>


save() ​

save(roots): void

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

Replaces what is kept.

Parameters ​

roots ​

Record<string, string>

Returns ​

void