(file, force = false)
| 191 | } |
| 192 | |
| 193 | function metadataPathName(file, force = false) |
| 194 | { |
| 195 | if(fileManager.isOpds(file.path)) |
| 196 | { |
| 197 | return opds.pathName(file.name); |
| 198 | } |
| 199 | else if(file.compressed || force) |
| 200 | { |
| 201 | let metadata = storage.getKey('compressedMetadata', file.path); |
| 202 | if(metadata && metadata.title) return metadata.title; |
| 203 | } |
| 204 | |
| 205 | return file.name; |
| 206 | } |
| 207 | |
| 208 | async function readFilesIndexPage(path, mainPath, fromGoBack, notAutomaticBrowsing, fromGoForwards) |
| 209 | { |
no outgoing calls
no test coverage detected