MCPcopy
hub / github.com/react-native-community/upgrade-helper / UseFetchDiffProps

Interface UseFetchDiffProps

src/hooks/fetch-diff.ts:11–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 parsedDiff.sort(({ newPath }) => (newPath.includes('package.json') ? -1 : 1))
10
11interface UseFetchDiffProps {
12 shouldShowDiff: boolean
13 packageName: string
14 language: string
15 fromVersion: string
16 toVersion: string
17}
18export const useFetchDiff = ({
19 shouldShowDiff,
20 packageName,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected