Merged in fix/redis-delete (pull request #3271)
feat(redis): include git hash when deleting without fuzzy * feat(redis): include git hash when deleting without fuzzy * Refactor Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -98,7 +98,10 @@ export type DataCache = {
|
||||
* @param fuzzy If true, does a wildcard delete. *key*
|
||||
* @returns
|
||||
*/
|
||||
deleteKey: (key: string, opts?: { fuzzy?: boolean }) => Promise<void>
|
||||
deleteKey: (
|
||||
key: string,
|
||||
opts?: { fuzzy?: boolean; includeGitHashInKey?: boolean }
|
||||
) => Promise<void>
|
||||
|
||||
/**
|
||||
* Deletes a key from the cache
|
||||
@@ -106,5 +109,8 @@ export type DataCache = {
|
||||
* @param fuzzy If true, does a wildcard delete. *key*
|
||||
* @returns
|
||||
*/
|
||||
deleteKeys: (keys: string[], opts?: { fuzzy?: boolean }) => Promise<void>
|
||||
deleteKeys: (
|
||||
keys: string[],
|
||||
opts?: { fuzzy?: boolean; includeGitHashInKey?: boolean }
|
||||
) => Promise<void>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user