|
| 1 | +-- Copyright (C) 2012-2016 by Pierre Chapuis |
1 | 2 | --
|
2 |
| --- Licensed to the Apache Software Foundation (ASF) under one or more |
3 |
| --- contributor license agreements. See the NOTICE file distributed with |
4 |
| --- this work for additional information regarding copyright ownership. |
5 |
| --- The ASF licenses this file to You under the Apache License, Version 2.0 |
6 |
| --- (the "License"); you may not use this file except in compliance with |
7 |
| --- the License. You may obtain a copy of the License at |
| 3 | +-- Permission is hereby granted, free of charge, to any person obtaining a copy |
| 4 | +-- of this software and associated documentation files (the "Software"), to deal |
| 5 | +-- in the Software without restriction, including without limitation the rights |
| 6 | +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 7 | +-- copies of the Software, and to permit persons to whom the Software is |
| 8 | +-- furnished to do so, subject to the following conditions: |
8 | 9 | --
|
9 |
| --- http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +-- The above copyright notice and this permission notice shall be included in |
| 11 | +-- all copies or substantial portions of the Software. |
10 | 12 | --
|
11 |
| --- Unless required by applicable law or agreed to in writing, software |
12 |
| --- distributed under the License is distributed on an "AS IS" BASIS, |
13 |
| --- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
14 |
| --- See the License for the specific language governing permissions and |
15 |
| --- limitations under the License. |
| 13 | +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 14 | +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 15 | +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 16 | +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 17 | +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 18 | +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 19 | +-- THE SOFTWARE. |
16 | 20 | --
|
17 | 21 |
|
| 22 | +-- fakeredis.lua was copied from https://github.com/catwell/fakeredis |
| 23 | + |
18 | 24 | local unpack = table.unpack or unpack
|
19 | 25 | local cjson = require 'cjson'
|
20 | 26 | --- Bit operations
|
|
0 commit comments