MCPcopy
hub / github.com/makeplane/plane / exists

Method exists

apps/live/src/redis.ts:192–203  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

190 }
191
192 public async exists(key: string): Promise<boolean> {
193 const client = this.getClient();
194 if (!client) return false;
195
196 try {
197 const result = await client.exists(key);
198 return result === 1;
199 } catch (error) {
200 logger.error(`REDIS_MANAGER: Error checking Redis key ${key}:`, error);
201 return false;
202 }
203 }
204
205 public async expire(key: string, ttl: number): Promise<boolean> {
206 const client = this.getClient();

Callers 15

get_resultMethod · 0.80
get_resultMethod · 0.80
burndown_plotFunction · 0.80
transfer_cycle_issuesFunction · 0.80
has_permissionMethod · 0.80
has_permissionMethod · 0.80
has_permissionMethod · 0.80
has_permissionMethod · 0.80
has_permissionMethod · 0.80
_wrapped_viewFunction · 0.80
has_permissionMethod · 0.80
has_permissionMethod · 0.80

Calls 1

getClientMethod · 0.95