(cid: string)
| 204 | }); |
| 205 | |
| 206 | const createParentProject = async (cid: string): Promise<P> => { |
| 207 | cid = `ipfs://${cid}`; |
| 208 | const reader = await ReaderFactory.create(cid, { |
| 209 | ipfs: config.ipfs, |
| 210 | }); |
| 211 | return createProject( |
| 212 | cid, |
| 213 | await reader.getProjectSchema(), |
| 214 | reader, |
| 215 | await getCachedRoot(reader, config.root), |
| 216 | makeNetworkOverrides(project) |
| 217 | ); |
| 218 | }; |
| 219 | |
| 220 | const projectUpgradeService = await ProjectUpgradeService.create(project, createParentProject); |
| 221 |
nothing calls this directly
no test coverage detected