Skip to content

Tankōbon / main/services/library-organizer / structureFolders

Function: structureFolders() ​

structureFolders(structure, entry, articles?): string[]

Defined in: main/services/library-organizer.ts:136

The folders structure puts entry in, from the organized folder down: one per level, a missing value (no year, nobody credited) giving the translated "Unknown" folder and a letter level the first character of the next level's folder. With articles, a leading article is moved to the end of the series and album names (so Le vent du nord is filed under V).

Parameters ​

structure ​

readonly LibraryLevel[]

entry ​

OrganizedEntry

articles? ​

readonly string[] = []

Returns ​

string[]