Permalink
Browse files

Merge remote-tracking branch 'gorsuch/master'

  • Loading branch information...
2 parents 04e05e6 + 3afee10 commit af1a0b768e2198adba23eeb0dd30f9da559889d5 @mmcgrana committed Dec 13, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/clj_redis/client.clj
@@ -157,6 +157,9 @@
[p k ^Integer start ^Integer end]
(lease p (fn [^Jedis j] (seq (.lrange j k start end)))))
+(defn ltrim
+ [p k ^Integer start ^Integer end]
+ (lease p (fn [^Jedis j] (.ltrim j k start end))))
; Sets

0 comments on commit af1a0b7

Please sign in to comment.