-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for SCRIPT EXISTS subcommand
I've added support for the SCRIPT EXISTS subcommand in the SCRIPTS command handler. The subcommand takes in a sequence of sha1 hash values of Lua scripts and checks if scripts with those sha1 hash values are currently registered with Redis. The command will return a redis List with the integers 1 and 0 to indicate which sha1 hash is known to Redis. In accordance with Redis, this subcommand returns an empty List if no hash values were passed as arguments to the subcommand.
- Loading branch information
1 parent
aaaad4b
commit 091f15d
Showing
3 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -310,7 +310,6 @@ scripting | |
--------- | ||
|
||
* script debug | ||
* script exists | ||
* script flush | ||
* script kill | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters