MCPcopy
hub / github.com/sindresorhus/got / get

Function get

source/core/options.ts:1167–1169  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

1165 // Wrap it to translate the interface
1166 return {
1167 get(key: string) {
1168 return value.get(key);
1169 },
1170 set(key: string, cacheValue: any, ttl?: number) {
1171 if (ttl === undefined) {
1172 value.set(key, cacheValue);

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected