(raw: string)
| 878 | const label = selectFileEntryLabel(collection, slug); |
| 879 | |
| 880 | const formatRawData = (raw: string) => { |
| 881 | return this.entryWithFormat(collection)( |
| 882 | createEntry(collection.get('name'), slug, path, { |
| 883 | raw, |
| 884 | label, |
| 885 | mediaFiles, |
| 886 | meta: { path: prepareMetaPath(path, collection) }, |
| 887 | }), |
| 888 | ); |
| 889 | }; |
| 890 | |
| 891 | const entry: EntryValue = formatRawData(raw); |
| 892 | if (hasI18n(collection) && backup.i18n) { |
nothing calls this directly
no test coverage detected