MCPcopy
hub / github.com/actions/cache / clearInputs

Function clearInputs

src/utils/testUtils.ts:37–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37export function clearInputs(): void {
38 delete process.env[getInputName(Inputs.Path)];
39 delete process.env[getInputName(Inputs.Key)];
40 delete process.env[getInputName(Inputs.RestoreKeys)];
41 delete process.env[getInputName(Inputs.UploadChunkSize)];
42 delete process.env[getInputName(Inputs.EnableCrossOsArchive)];
43 delete process.env[getInputName(Inputs.FailOnCacheMiss)];
44 delete process.env[getInputName(Inputs.LookupOnly)];
45}

Callers

nothing calls this directly

Calls 1

getInputNameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…