Skip to content

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

Function: organizedPaths() ​

organizedPaths(target, entry): string[]

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

Where the organization puts a comic, best first. Its name is the original file name, or the one templatedStem gives when the target has a file name template, the extension being kept. Without a structure, a single place: <root>/<name> (<library id>)/<name>.<extension> (see organizedFolderName). With one, the file goes in the last level's folder under that name, or, when another file has that name there, <name> (<library id>).<extension>. A comic at any of these places is in place.

Parameters ​

target ​

OrganizationTarget

entry ​

OrganizedEntry

Returns ​

string[]