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

Interface IStateProvider

src/stateProvider.ts:5–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import { Outputs, State } from "./constants";
4
5export interface IStateProvider {
6 setState(key: string, value: string): void;
7 getState(key: string): string;
8
9 getCacheState(): string | undefined;
10}
11
12class StateProviderBase implements IStateProvider {
13 getCacheState(): string | undefined {

Callers 7

restoreImplFunction · 0.80
getCacheStateMethod · 0.80
saveImplFunction · 0.80
saveImplFunction · 0.65

Implementers 1

StateProviderBasesrc/stateProvider.ts

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…