Skip to content

Alternative approach to keeping archives cached

Warren Gifford requested to merge mrn/keep-archives-2 into main

Created by: mrnugget

This is a second, alterantive approach to https://github.com/sourcegraph/src-cli/pull/449 for keeping archives cached across different executions.

It models RepoZip as a thunk in a way: RepoFetcher.Checkout() returns a RepoZip that's passed around with the Task. Once all Tasks have called Fetch() and Close() only then the archive is cleaned up.

Merge request reports

Loading