Created
December 20, 2011 00:34
-
-
Save aphyr/1499605 to your computer and use it in GitHub Desktop.
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
# Is the given riak_object deleted? | |
# Without consideration for vclocks, naturally... | |
BERT.decode(robject)[3].all? { |content| | |
content[1][-1][0].flatten(1).any? { |list| | |
list == ["X-Riak-Deleted", 116,114,117,101] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment