Function
entriesEqual
(a: RegistryEntry, b: RegistryEntry)
Source from the content-addressed store, hash-verified
| 197 | } |
| 198 | |
| 199 | function entriesEqual(a: RegistryEntry, b: RegistryEntry): boolean { |
| 200 | return ( |
| 201 | a.dir === b.dir && |
| 202 | a.name === b.name && |
| 203 | a.version === b.version && |
| 204 | a.port === b.port && |
| 205 | a.pid === b.pid && |
| 206 | a.status === b.status && |
| 207 | a.startedAt === b.startedAt && |
| 208 | a.stoppedAt === b.stoppedAt |
| 209 | ); |
| 210 | } |
| 211 | |
| 212 | // --------------------------------------------------------------------------- |
| 213 | // Read / Write helpers |
Tested by
no test coverage detected