(path: string, collection: Collection)
| 311 | }; |
| 312 | |
| 313 | function prepareMetaPath(path: string, collection: Collection) { |
| 314 | if (!selectHasMetaPath(collection)) { |
| 315 | return path; |
| 316 | } |
| 317 | const dir = dirname(path); |
| 318 | return dir.slice(collection.get('folder')!.length + 1) || '/'; |
| 319 | } |
| 320 | |
| 321 | function collectionDepth(collection: Collection) { |
| 322 | let depth; |
no test coverage detected