MCPcopy Create free account
hub / github.com/cloudflare/computer / reset

Function reset

packages/computer/src/git/index.ts:681–688  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

679 });
680 },
681 async reset(options = {}) {
682 return resetWith({
683 ...options,
684 fs: await fs(),
685 git: await loadGit<IsomorphicGitResetClient>(),
686 cache,
687 });
688 },
689 async clean(options = {}) {
690 return cleanWith({
691 ...options,

Callers

nothing calls this directly

Calls 2

resetWithFunction · 0.85
fsFunction · 0.70

Tested by

no test coverage detected