lib/dalli/protocol/meta.rb
# TODO: This is confusing, as there's a cas command in memcached
# and this isn't it.  Maybe rename?  Maybe eliminate?
This is confusing, as there's a cas command in memcached
and this isn't it.  Maybe rename.
This is confusing as there ' s a cas command in memcached and this isn ' t it . Maybe rename .
def cas(key)
        encoded_key, base64 = KeyRegularizer.encode(key)
        req = RequestFormatter.meta_get(key: encoded_key, value: true, return_cas: true, base64: base64)
        write(req)
        response_processor.meta_get_with_value_and_cas
      end
def cas ( key ) encoded_key , base64 = KeyRegularizer . encode ( key ) req = RequestFormatter . meta_get ( key : encoded_key , value : true , return_cas : true , base64 : base64 ) write ( req ) response_processor . meta_get_with_value_and_cas end
TODO: This is confusing, as there's a cas command in memcached
and this isn't it.
TODO : This is confusing as there ' s a cas command in memcached and this isn ' t it .
key
<not_specific>