Expand description
Reading an Inboard backup folder for import, as Eagle’s File ▸ Import ▸ Inboard does.
The folder holds InboardBackup.json with folders (each with a
title) and items, plus the files in images/ and screenshots/.
Eagle creates one top-level folder per Inboard folder (all of them, in
order; when two share a title, items go to the later one), then imports
every item of type "image" whose file exists: the file is the last
path component of the item’s path, looked up in screenshots/ when
that path runs through a /screenshots/ folder and in images/
otherwise. The item keeps Inboard’s title as its name, its tags,
its url, its trashed state (isTrashed other than 0) and its date
as the date added.
Structs§
- Inboard
Backup - What an Inboard backup holds.
- Inboard
Item - One image to import.
Constants§
- INDEX
- The backup’s index file.
Functions§
- folder_
map - Which folder id each title maps to after creating one folder per
entry of
titles(ids in the same order): a repeated title maps to the last folder made with it, as in Eagle. - is_
backup - Whether
diris an Inboard backup folder. - read
- Reads the backup in
dir.