Former New York federal prosecutor Andy McCarthy said federal law was "completely distorted" to exonerate Hillary Clinton and "scorch the Earth" against President Trump.

"It boils down to whether you believe Hillary Clinton acted with criminal intent," he said of how readers will analyze Inspector General Michael E. Horowitz's report.

McCarthy, a newly-minted Fox News contributor, said federal authorities "rewrote the Espionage Act" to try to prevent Clinton from being charged.

Trump Makes Impromptu Visit to 'Fox & Friends,' Claims IG Report on Clinton Probe 'Totally Exonerates' Him

Trump Dismisses 'Fake News CNN' Reporter's Question During G7 Summit Briefing

McCarthy said he believes the Obama Justice Department was "never, ever" going to pursue charges against the then-Democratic presidential nominee. 

"Everything else was for show," he said on "Fox & Friends."

McCarthy said the handling of the Clinton probe and the Trump-Russia investigation must be compared, since some of the same officials were on both cases.

Watch the full interview above.

'You Used to Be Pals': Ingraham Challenges Jesse Jackson on Opposition to Trump

Gowdy: Stunning IG Report on Handling of Clinton Probe 'A Dark Day for the DOJ'