compareWithUpstream
Compares one entry with its upstream.
Import:
import { compareWithUpstream } from '@mnaoumov/typescript-dev-toolkit/upstream-sync';Signature:
function compareWithUpstream(entry: UpstreamEntry, dependencies: Pick<SyncDependencies, "fetchJson">): Promise<UpstreamStatus>Parameters:
| Parameter | Type | Description |
|---|---|---|
entry |
UpstreamEntry | The entry. |
dependencies |
Pick<SyncDependencies, “fetchJson”> | The outside world. |
Returns: Promise<UpstreamStatus> — What the comparison found.