(result: StoreMutationResult)
| 130 | } |
| 131 | |
| 132 | function toMutationOutput(result: StoreMutationResult): StoreMutationOutput { |
| 133 | return { |
| 134 | store: toStoreOutput(result.store), |
| 135 | registry: { |
| 136 | path: result.registryCommit.path, |
| 137 | registered: result.registryCommit.registered, |
| 138 | already_registered: result.registryCommit.alreadyRegistered, |
| 139 | }, |
| 140 | git: { |
| 141 | is_repository: result.git.isRepository, |
| 142 | initialized: result.git.initialized, |
| 143 | committed: result.git.committed, |
| 144 | }, |
| 145 | created_files: result.createdArtifacts, |
| 146 | status: result.diagnostics, |
| 147 | }; |
| 148 | } |
| 149 | |
| 150 | function toCleanupOutput(result: StoreCleanupResult): StoreCleanupOutput { |
| 151 | return { |
no test coverage detected