Skip to content

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

Function: organizedFolderName() ​

organizedFolderName(filePath, id): string

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

Name of the subfolder that holds a comic in the organized folder: the original file name without its extension, then the library id in parentheses (Astérix T01 (3f2a…)), so two files of the same name never collide. The name part is cut when the whole would exceed MAX_NAME_BYTES, and a cut name loses its trailing spaces and dots (Windows refuses a name ending with them).

Parameters ​

filePath ​

string

id ​

string

Returns ​

string