Skip to content

Commit

Permalink
Merge remote-tracking branch 'gorsuch/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcgrana committed Dec 13, 2011
2 parents 04e05e6 + 3afee10 commit af1a0b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/clj_redis/client.clj
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@
[p k ^Integer start ^Integer end] [p k ^Integer start ^Integer end]
(lease p (fn [^Jedis j] (seq (.lrange j k start 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 ; Sets


Expand Down

0 comments on commit af1a0b7

Please sign in to comment.