From a7718ac642cb423aabcad4739147392c4437b553 Mon Sep 17 00:00:00 2001 From: Jyotinder Date: Sat, 14 Dec 2024 13:29:07 +0530 Subject: [PATCH] switch license to gnu-agpl-3.0 --- config/config.go | 16 ++++++++++++++++ config/parser.go | 16 ++++++++++++++++ config/validator.go | 16 ++++++++++++++++ examples/leaderboard-go/main.go | 16 ++++++++++++++++ examples/url-shortener/main.go | 16 ++++++++++++++++ integration_tests/commands/http/append_test.go | 16 ++++++++++++++++ integration_tests/commands/http/bit_test.go | 16 ++++++++++++++++ integration_tests/commands/http/bloom_test.go | 16 ++++++++++++++++ .../commands/http/check_type_test.go | 16 ++++++++++++++++ .../commands/http/command_count_test.go | 16 ++++++++++++++++ .../commands/http/command_default_test.go | 16 ++++++++++++++++ .../commands/http/command_docs_test.go | 16 ++++++++++++++++ .../commands/http/command_getkeys_test.go | 16 ++++++++++++++++ .../commands/http/command_help_test.go | 16 ++++++++++++++++ .../commands/http/command_info_test.go | 16 ++++++++++++++++ .../commands/http/command_list_test.go | 16 ++++++++++++++++ .../commands/http/command_rename_test.go | 16 ++++++++++++++++ integration_tests/commands/http/copy_test.go | 16 ++++++++++++++++ .../commands/http/countminsketch_test.go | 16 ++++++++++++++++ integration_tests/commands/http/dbsize_test.go | 16 ++++++++++++++++ integration_tests/commands/http/decr_test.go | 16 ++++++++++++++++ integration_tests/commands/http/del_test.go | 16 ++++++++++++++++ integration_tests/commands/http/deque_test.go | 16 ++++++++++++++++ integration_tests/commands/http/echo_test.go | 16 ++++++++++++++++ integration_tests/commands/http/exists_test.go | 16 ++++++++++++++++ integration_tests/commands/http/expire_test.go | 16 ++++++++++++++++ integration_tests/commands/http/expireat_test.go | 16 ++++++++++++++++ .../commands/http/expiretime_test.go | 16 ++++++++++++++++ integration_tests/commands/http/geo_test.go | 16 ++++++++++++++++ integration_tests/commands/http/get_test.go | 16 ++++++++++++++++ integration_tests/commands/http/getdel_test.go | 16 ++++++++++++++++ integration_tests/commands/http/getex_test.go | 16 ++++++++++++++++ integration_tests/commands/http/getrange_test.go | 16 ++++++++++++++++ integration_tests/commands/http/getset_test.go | 16 ++++++++++++++++ integration_tests/commands/http/hdel_test.go | 16 ++++++++++++++++ integration_tests/commands/http/hexists_test.go | 16 ++++++++++++++++ integration_tests/commands/http/hget_test.go | 16 ++++++++++++++++ integration_tests/commands/http/hincrby_test.go | 16 ++++++++++++++++ .../commands/http/hincrbyfloat_test.go | 16 ++++++++++++++++ integration_tests/commands/http/hkeys_test.go | 16 ++++++++++++++++ integration_tests/commands/http/hlen_test.go | 16 ++++++++++++++++ .../commands/http/hrandfield_test.go | 16 ++++++++++++++++ integration_tests/commands/http/hscan_test.go | 16 ++++++++++++++++ integration_tests/commands/http/hset_test.go | 16 ++++++++++++++++ integration_tests/commands/http/hsetnx_test.go | 16 ++++++++++++++++ integration_tests/commands/http/hstrlen_test.go | 16 ++++++++++++++++ integration_tests/commands/http/hvals_test.go | 16 ++++++++++++++++ .../commands/http/hyperloglog_test.go | 16 ++++++++++++++++ .../commands/http/incr_by_float_test.go | 16 ++++++++++++++++ integration_tests/commands/http/incr_test.go | 16 ++++++++++++++++ .../commands/http/json_arrpop_test.go | 16 ++++++++++++++++ integration_tests/commands/http/json_test.go | 16 ++++++++++++++++ .../commands/http/jsondebug_test.go | 16 ++++++++++++++++ integration_tests/commands/http/jsonresp_test.go | 16 ++++++++++++++++ integration_tests/commands/http/keys_test.go | 16 ++++++++++++++++ integration_tests/commands/http/main_test.go | 16 ++++++++++++++++ integration_tests/commands/http/mget_test.go | 16 ++++++++++++++++ integration_tests/commands/http/mset_test.go | 16 ++++++++++++++++ integration_tests/commands/http/object_test.go | 16 ++++++++++++++++ .../commands/http/set_data_cmd_test.go | 16 ++++++++++++++++ integration_tests/commands/http/set_test.go | 16 ++++++++++++++++ integration_tests/commands/http/setup.go | 16 ++++++++++++++++ integration_tests/commands/http/touch_test.go | 16 ++++++++++++++++ integration_tests/commands/http/ttl_pttl_test.go | 16 ++++++++++++++++ integration_tests/commands/http/type_test.go | 16 ++++++++++++++++ integration_tests/commands/http/zcard_test.go | 16 ++++++++++++++++ integration_tests/commands/http/zpopmax_test.go | 16 ++++++++++++++++ integration_tests/commands/http/zrank_test.go | 16 ++++++++++++++++ integration_tests/commands/http/zrem_test.go | 16 ++++++++++++++++ integration_tests/commands/http/zset_test.go | 16 ++++++++++++++++ .../commands/resp/abort/server_abort_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/append_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/bit_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/bloom_test.go | 16 ++++++++++++++++ .../commands/resp/check_type_test.go | 16 ++++++++++++++++ .../commands/resp/command_count_test.go | 16 ++++++++++++++++ .../commands/resp/command_default_test.go | 16 ++++++++++++++++ .../commands/resp/command_docs_test.go | 16 ++++++++++++++++ .../commands/resp/command_getkeys_test.go | 16 ++++++++++++++++ .../commands/resp/command_info_test.go | 16 ++++++++++++++++ .../commands/resp/command_list_test.go | 16 ++++++++++++++++ .../commands/resp/command_rename_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/copy_test.go | 16 ++++++++++++++++ .../commands/resp/countminsketch_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/dbsize_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/decr_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/del_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/deque_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/dump_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/echo_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/exists_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/expire_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/flushdb_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/geo_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/get_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/getdel_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/getex_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/getrange_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/getset_test.go | 16 ++++++++++++++++ .../commands/resp/getunwatch_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/getwatch_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/hdel_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/hello_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/hexists_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/hget_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/hgetall_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/hincrby_test.go | 16 ++++++++++++++++ .../commands/resp/hincrbyfloat_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/hkeys_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/hlen_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/hmget_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/hmset_test.go | 16 ++++++++++++++++ .../commands/resp/hrandfield_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/hscan_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/hset_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/hsetnx_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/hstrlen_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/hvals_test.go | 16 ++++++++++++++++ .../commands/resp/hyperloglog_test.go | 16 ++++++++++++++++ .../commands/resp/incr_by_float_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/incr_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/json_test.go | 16 ++++++++++++++++ .../commands/resp/jsondebug_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/jsonresp_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/keys_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/main_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/mget_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/mset_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/object_test.go | 16 ++++++++++++++++ .../commands/resp/pfcountwatch_test.go | 16 ++++++++++++++++ .../commands/resp/set_data_cmd_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/set_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/setup.go | 16 ++++++++++++++++ integration_tests/commands/resp/touch_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/ttl_pttl_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/type_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/zcard_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/zpopmax_test.go | 16 ++++++++++++++++ .../commands/resp/zrangewatch_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/zrank_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/zrem_test.go | 16 ++++++++++++++++ integration_tests/commands/resp/zset_test.go | 16 ++++++++++++++++ .../commands/websocket/append_test.go | 16 ++++++++++++++++ integration_tests/commands/websocket/bit_test.go | 16 ++++++++++++++++ .../commands/websocket/bloom_test.go | 16 ++++++++++++++++ .../commands/websocket/command_docs_test.go | 16 ++++++++++++++++ .../commands/websocket/countminsketch_test.go | 16 ++++++++++++++++ .../commands/websocket/decr_test.go | 16 ++++++++++++++++ integration_tests/commands/websocket/del_test.go | 16 ++++++++++++++++ .../commands/websocket/deque_test.go | 16 ++++++++++++++++ .../commands/websocket/exists_test.go | 16 ++++++++++++++++ .../commands/websocket/expire_test.go | 16 ++++++++++++++++ integration_tests/commands/websocket/geo_test.go | 16 ++++++++++++++++ integration_tests/commands/websocket/get_test.go | 16 ++++++++++++++++ .../commands/websocket/getrange_test.go | 16 ++++++++++++++++ .../commands/websocket/hdel_test.go | 16 ++++++++++++++++ integration_tests/commands/websocket/helper.go | 16 ++++++++++++++++ .../commands/websocket/hexists_test.go | 16 ++++++++++++++++ .../commands/websocket/hget_test.go | 16 ++++++++++++++++ .../commands/websocket/hincrby_test.go | 16 ++++++++++++++++ .../commands/websocket/hincrbyfloat_test.go | 16 ++++++++++++++++ .../commands/websocket/hkeys_test.go | 16 ++++++++++++++++ .../commands/websocket/hlen_test.go | 16 ++++++++++++++++ .../commands/websocket/hrandfield_test.go | 16 ++++++++++++++++ .../commands/websocket/hscan_test.go | 16 ++++++++++++++++ .../commands/websocket/hset_test.go | 16 ++++++++++++++++ .../commands/websocket/hstrlen_test.go | 16 ++++++++++++++++ .../commands/websocket/hvals_test.go | 16 ++++++++++++++++ .../commands/websocket/hyperloglog_test.go | 16 ++++++++++++++++ .../commands/websocket/incr_by_float_test.go | 16 ++++++++++++++++ .../commands/websocket/incr_test.go | 16 ++++++++++++++++ .../commands/websocket/json_test.go | 16 ++++++++++++++++ .../commands/websocket/jsondebug_test.go | 16 ++++++++++++++++ .../commands/websocket/jsonresp_test.go | 16 ++++++++++++++++ .../commands/websocket/main_test.go | 16 ++++++++++++++++ integration_tests/commands/websocket/set_test.go | 16 ++++++++++++++++ integration_tests/commands/websocket/setup.go | 16 ++++++++++++++++ .../commands/websocket/ttl_pttl_test.go | 16 ++++++++++++++++ .../commands/websocket/type_test.go | 16 ++++++++++++++++ .../commands/websocket/writeretry_test.go | 16 ++++++++++++++++ .../commands/websocket/zcard_test.go | 16 ++++++++++++++++ .../commands/websocket/zpopmax_test.go | 16 ++++++++++++++++ .../commands/websocket/zrank_test.go | 16 ++++++++++++++++ .../commands/websocket/zrem_test.go | 16 ++++++++++++++++ .../commands/websocket/zset_test.go | 16 ++++++++++++++++ integration_tests/config/config_test.go | 16 ++++++++++++++++ integration_tests/config/parser_test.go | 16 ++++++++++++++++ integration_tests/server/max_conn_test.go | 16 ++++++++++++++++ integration_tests/server/server_abort_test.go | 16 ++++++++++++++++ integration_tests/server/setup.go | 16 ++++++++++++++++ internal/auth/session.go | 16 ++++++++++++++++ internal/auth/session_test.go | 16 ++++++++++++++++ internal/cli/cli.go | 16 ++++++++++++++++ internal/clientio/io.go | 16 ++++++++++++++++ internal/clientio/io_test.go | 16 ++++++++++++++++ internal/clientio/iohandler/iohandler.go | 16 ++++++++++++++++ internal/clientio/iohandler/netconn/netconn.go | 16 ++++++++++++++++ .../iohandler/netconn/netconn_resp_test.go | 16 ++++++++++++++++ .../clientio/iohandler/netconn/netconn_test.go | 16 ++++++++++++++++ internal/clientio/requestparser/parser.go | 16 ++++++++++++++++ .../clientio/requestparser/resp/respparser.go | 16 ++++++++++++++++ .../requestparser/resp/respparser_test.go | 16 ++++++++++++++++ internal/clientio/resp.go | 16 ++++++++++++++++ internal/clientio/resp_test.go | 16 ++++++++++++++++ internal/cmd/cmds.go | 16 ++++++++++++++++ internal/comm/client.go | 16 ++++++++++++++++ internal/common/map.go | 16 ++++++++++++++++ internal/common/regmap.go | 16 ++++++++++++++++ internal/common/swisstable.go | 16 ++++++++++++++++ internal/dencoding/dencoding_benchmark_test.go | 16 ++++++++++++++++ internal/dencoding/int.go | 16 ++++++++++++++++ internal/dencoding/int_test.go | 16 ++++++++++++++++ internal/errors/errors.go | 16 ++++++++++++++++ internal/errors/migrated_errors.go | 16 ++++++++++++++++ internal/eval/bitpos.go | 16 ++++++++++++++++ internal/eval/bloom_test.go | 16 ++++++++++++++++ internal/eval/bloom_utils.go | 16 ++++++++++++++++ internal/eval/bytearray.go | 16 ++++++++++++++++ internal/eval/bytearray_test.go | 16 ++++++++++++++++ internal/eval/bytelist.go | 16 ++++++++++++++++ internal/eval/bytelist_test.go | 16 ++++++++++++++++ internal/eval/commands.go | 16 ++++++++++++++++ internal/eval/constants.go | 16 ++++++++++++++++ internal/eval/countminsketch.go | 16 ++++++++++++++++ internal/eval/countminsketch_test.go | 16 ++++++++++++++++ internal/eval/deque.go | 16 ++++++++++++++++ internal/eval/deque_test.go | 16 ++++++++++++++++ internal/eval/dump_restore.go | 16 ++++++++++++++++ internal/eval/eval.go | 16 ++++++++++++++++ internal/eval/eval_test.go | 16 ++++++++++++++++ internal/eval/execute.go | 16 ++++++++++++++++ internal/eval/geo/geo.go | 16 ++++++++++++++++ internal/eval/hmap.go | 16 ++++++++++++++++ internal/eval/hmap_test.go | 16 ++++++++++++++++ internal/eval/main_test.go | 16 ++++++++++++++++ internal/eval/sortedset/sorted_set.go | 16 ++++++++++++++++ internal/eval/store_eval.go | 16 ++++++++++++++++ internal/eval/type_asserts.go | 16 ++++++++++++++++ internal/eval/type_bloomfilter.go | 16 ++++++++++++++++ internal/eval/type_string.go | 16 ++++++++++++++++ internal/eval/type_string_test.go | 16 ++++++++++++++++ internal/id/id.go | 16 ++++++++++++++++ internal/id/id_test.go | 16 ++++++++++++++++ internal/iomultiplexer/constants.go | 16 ++++++++++++++++ internal/iomultiplexer/epoll_linux.go | 16 ++++++++++++++++ internal/iomultiplexer/errors.go | 16 ++++++++++++++++ internal/iomultiplexer/interface.go | 16 ++++++++++++++++ internal/iomultiplexer/kqueue_darwin.go | 16 ++++++++++++++++ internal/iomultiplexer/types.go | 16 ++++++++++++++++ internal/iomultiplexer/types_darwin.go | 16 ++++++++++++++++ internal/iomultiplexer/types_linux.go | 16 ++++++++++++++++ internal/iothread/cmd_compose.go | 16 ++++++++++++++++ internal/iothread/cmd_custom.go | 16 ++++++++++++++++ internal/iothread/cmd_decompose.go | 16 ++++++++++++++++ internal/iothread/cmd_meta.go | 16 ++++++++++++++++ internal/iothread/cmd_preprocess.go | 16 ++++++++++++++++ internal/iothread/iothread.go | 16 ++++++++++++++++ internal/iothread/manager.go | 16 ++++++++++++++++ internal/logger/logger.go | 16 ++++++++++++++++ internal/logger/zerolog.go | 16 ++++++++++++++++ internal/object/deep_copy.go | 16 ++++++++++++++++ internal/object/object.go | 16 ++++++++++++++++ internal/object/typeencoding.go | 16 ++++++++++++++++ internal/observability/constants.go | 16 ++++++++++++++++ internal/observability/hardware.go | 16 ++++++++++++++++ internal/observability/instance.go | 16 ++++++++++++++++ internal/observability/ping.go | 16 ++++++++++++++++ internal/ops/store_op.go | 16 ++++++++++++++++ internal/querymanager/query_manager.go | 16 ++++++++++++++++ internal/querymanager/watch_response.go | 16 ++++++++++++++++ internal/regex/regex.go | 16 ++++++++++++++++ internal/regex/regex_test.go | 16 ++++++++++++++++ .../server/abstractserver/abstract_server.go | 16 ++++++++++++++++ internal/server/httpws/httpResp.go | 16 ++++++++++++++++ internal/server/httpws/httpServer.go | 16 ++++++++++++++++ internal/server/httpws/redisCmdAdapter.go | 16 ++++++++++++++++ internal/server/httpws/redisCmdAdapter_test.go | 16 ++++++++++++++++ internal/server/httpws/websocketServer.go | 16 ++++++++++++++++ internal/server/resp/server.go | 16 ++++++++++++++++ internal/server/utils/array.go | 16 ++++++++++++++++ internal/server/utils/bitfield.go | 16 ++++++++++++++++ internal/server/utils/boolToInt.go | 16 ++++++++++++++++ internal/server/utils/constants.go | 16 ++++++++++++++++ internal/server/utils/floatToInt.go | 16 ++++++++++++++++ internal/server/utils/json.go | 16 ++++++++++++++++ internal/server/utils/jsontype.go | 16 ++++++++++++++++ internal/server/utils/jsontype_test.go | 16 ++++++++++++++++ internal/server/utils/round.go | 16 ++++++++++++++++ internal/server/utils/time.go | 16 ++++++++++++++++ internal/shard/shard_manager.go | 16 ++++++++++++++++ internal/shard/shard_thread.go | 16 ++++++++++++++++ internal/sql/constants.go | 16 ++++++++++++++++ internal/sql/dsql.go | 16 ++++++++++++++++ internal/sql/dsql_test.go | 16 ++++++++++++++++ internal/sql/executerbechmark_test.go | 16 ++++++++++++++++ internal/sql/executor.go | 16 ++++++++++++++++ internal/sql/executor_test.go | 16 ++++++++++++++++ internal/sql/fingerprint.go | 16 ++++++++++++++++ internal/sql/fingerprint_test.go | 16 ++++++++++++++++ internal/store/aof.go | 16 ++++++++++++++++ internal/store/aof_test.go | 16 ++++++++++++++++ internal/store/batchevictionlru.go | 16 ++++++++++++++++ internal/store/batchevictionlru_test.go | 16 ++++++++++++++++ internal/store/constants.go | 16 ++++++++++++++++ internal/store/eviction.go | 16 ++++++++++++++++ internal/store/expire.go | 16 ++++++++++++++++ internal/store/expire_test.go | 16 ++++++++++++++++ internal/store/store.go | 16 ++++++++++++++++ internal/store/store_options.go | 16 ++++++++++++++++ internal/wal/wal.go | 16 ++++++++++++++++ internal/wal/wal.pb.go | 16 ++++++++++++++++ internal/wal/wal.proto | 16 ++++++++++++++++ internal/wal/wal_aof.go | 16 ++++++++++++++++ internal/wal/wal_null.go | 16 ++++++++++++++++ internal/wal/wal_sqlite.go | 16 ++++++++++++++++ internal/wal/wal_test.go | 16 ++++++++++++++++ internal/watchmanager/watch_manager.go | 16 ++++++++++++++++ main.go | 16 ++++++++++++++++ mocks/slog_noop.go | 16 ++++++++++++++++ testutils/json.go | 16 ++++++++++++++++ testutils/parsecommand.go | 16 ++++++++++++++++ testutils/slices.go | 16 ++++++++++++++++ 322 files changed, 5152 insertions(+) diff --git a/config/config.go b/config/config.go index 98d1fc64f..a99b3b697 100644 --- a/config/config.go +++ b/config/config.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package config import ( diff --git a/config/parser.go b/config/parser.go index 937ff9f5b..d8107ae75 100644 --- a/config/parser.go +++ b/config/parser.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package config import ( diff --git a/config/validator.go b/config/validator.go index 66669ff43..1372b6bca 100644 --- a/config/validator.go +++ b/config/validator.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package config import ( diff --git a/examples/leaderboard-go/main.go b/examples/leaderboard-go/main.go index eeb2b1101..92899b97c 100644 --- a/examples/leaderboard-go/main.go +++ b/examples/leaderboard-go/main.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package main import ( diff --git a/examples/url-shortener/main.go b/examples/url-shortener/main.go index 583eb8a02..a547b8b37 100644 --- a/examples/url-shortener/main.go +++ b/examples/url-shortener/main.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package main import ( diff --git a/integration_tests/commands/http/append_test.go b/integration_tests/commands/http/append_test.go index 5c4150ae2..3fc9881e8 100644 --- a/integration_tests/commands/http/append_test.go +++ b/integration_tests/commands/http/append_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/bit_test.go b/integration_tests/commands/http/bit_test.go index 1d6418cde..5934415c9 100644 --- a/integration_tests/commands/http/bit_test.go +++ b/integration_tests/commands/http/bit_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http // The following commands are a part of this test class: diff --git a/integration_tests/commands/http/bloom_test.go b/integration_tests/commands/http/bloom_test.go index 8d28958b9..f4d323c9a 100644 --- a/integration_tests/commands/http/bloom_test.go +++ b/integration_tests/commands/http/bloom_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/check_type_test.go b/integration_tests/commands/http/check_type_test.go index 81127f284..02e2abd83 100644 --- a/integration_tests/commands/http/check_type_test.go +++ b/integration_tests/commands/http/check_type_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/command_count_test.go b/integration_tests/commands/http/command_count_test.go index dd9e55338..7c9e12e2e 100644 --- a/integration_tests/commands/http/command_count_test.go +++ b/integration_tests/commands/http/command_count_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/command_default_test.go b/integration_tests/commands/http/command_default_test.go index c4a67a8c7..2b5806364 100644 --- a/integration_tests/commands/http/command_default_test.go +++ b/integration_tests/commands/http/command_default_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/command_docs_test.go b/integration_tests/commands/http/command_docs_test.go index 801e18897..b5cddd097 100644 --- a/integration_tests/commands/http/command_docs_test.go +++ b/integration_tests/commands/http/command_docs_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/command_getkeys_test.go b/integration_tests/commands/http/command_getkeys_test.go index 3ebb1074a..9d5f52846 100644 --- a/integration_tests/commands/http/command_getkeys_test.go +++ b/integration_tests/commands/http/command_getkeys_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/command_help_test.go b/integration_tests/commands/http/command_help_test.go index d39af3044..b047fb365 100644 --- a/integration_tests/commands/http/command_help_test.go +++ b/integration_tests/commands/http/command_help_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/command_info_test.go b/integration_tests/commands/http/command_info_test.go index e7639a7c9..4b9da0479 100644 --- a/integration_tests/commands/http/command_info_test.go +++ b/integration_tests/commands/http/command_info_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/command_list_test.go b/integration_tests/commands/http/command_list_test.go index 87ed4508f..40c344a7f 100644 --- a/integration_tests/commands/http/command_list_test.go +++ b/integration_tests/commands/http/command_list_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/command_rename_test.go b/integration_tests/commands/http/command_rename_test.go index 0c9845060..0411c5e4b 100644 --- a/integration_tests/commands/http/command_rename_test.go +++ b/integration_tests/commands/http/command_rename_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + //go:build ignore // +build ignore diff --git a/integration_tests/commands/http/copy_test.go b/integration_tests/commands/http/copy_test.go index fc46da0ce..91fec81d1 100644 --- a/integration_tests/commands/http/copy_test.go +++ b/integration_tests/commands/http/copy_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + //go:build ignore // +build ignore diff --git a/integration_tests/commands/http/countminsketch_test.go b/integration_tests/commands/http/countminsketch_test.go index bc051a147..4b9a739cd 100644 --- a/integration_tests/commands/http/countminsketch_test.go +++ b/integration_tests/commands/http/countminsketch_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/dbsize_test.go b/integration_tests/commands/http/dbsize_test.go index 430abab5e..dc436ce40 100644 --- a/integration_tests/commands/http/dbsize_test.go +++ b/integration_tests/commands/http/dbsize_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + //go:build ignore // +build ignore diff --git a/integration_tests/commands/http/decr_test.go b/integration_tests/commands/http/decr_test.go index a41fc53d3..d5d933ae6 100644 --- a/integration_tests/commands/http/decr_test.go +++ b/integration_tests/commands/http/decr_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/del_test.go b/integration_tests/commands/http/del_test.go index e6df09465..a189942ba 100644 --- a/integration_tests/commands/http/del_test.go +++ b/integration_tests/commands/http/del_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/deque_test.go b/integration_tests/commands/http/deque_test.go index cb1582ce7..562a249e6 100644 --- a/integration_tests/commands/http/deque_test.go +++ b/integration_tests/commands/http/deque_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/echo_test.go b/integration_tests/commands/http/echo_test.go index d2f8db08c..260499aa7 100644 --- a/integration_tests/commands/http/echo_test.go +++ b/integration_tests/commands/http/echo_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/exists_test.go b/integration_tests/commands/http/exists_test.go index a7da3bd66..160378793 100644 --- a/integration_tests/commands/http/exists_test.go +++ b/integration_tests/commands/http/exists_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/expire_test.go b/integration_tests/commands/http/expire_test.go index f785e89f8..029e7aa2f 100644 --- a/integration_tests/commands/http/expire_test.go +++ b/integration_tests/commands/http/expire_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/expireat_test.go b/integration_tests/commands/http/expireat_test.go index 371c233d4..a9ef6dc72 100644 --- a/integration_tests/commands/http/expireat_test.go +++ b/integration_tests/commands/http/expireat_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/expiretime_test.go b/integration_tests/commands/http/expiretime_test.go index f3d4f0491..49421decd 100644 --- a/integration_tests/commands/http/expiretime_test.go +++ b/integration_tests/commands/http/expiretime_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/geo_test.go b/integration_tests/commands/http/geo_test.go index 2943c3fa2..4d0a42d73 100644 --- a/integration_tests/commands/http/geo_test.go +++ b/integration_tests/commands/http/geo_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/get_test.go b/integration_tests/commands/http/get_test.go index 392ea42c6..d66e0429b 100644 --- a/integration_tests/commands/http/get_test.go +++ b/integration_tests/commands/http/get_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/getdel_test.go b/integration_tests/commands/http/getdel_test.go index 9233a0b90..fca983230 100644 --- a/integration_tests/commands/http/getdel_test.go +++ b/integration_tests/commands/http/getdel_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/getex_test.go b/integration_tests/commands/http/getex_test.go index 12fb9d03b..e232e3286 100644 --- a/integration_tests/commands/http/getex_test.go +++ b/integration_tests/commands/http/getex_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/getrange_test.go b/integration_tests/commands/http/getrange_test.go index e4c7c941e..dc47b8145 100644 --- a/integration_tests/commands/http/getrange_test.go +++ b/integration_tests/commands/http/getrange_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/getset_test.go b/integration_tests/commands/http/getset_test.go index 0072eee92..60fc7a58c 100644 --- a/integration_tests/commands/http/getset_test.go +++ b/integration_tests/commands/http/getset_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/hdel_test.go b/integration_tests/commands/http/hdel_test.go index a955fc274..81e76a5aa 100644 --- a/integration_tests/commands/http/hdel_test.go +++ b/integration_tests/commands/http/hdel_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/hexists_test.go b/integration_tests/commands/http/hexists_test.go index 2013810a1..116bc8052 100644 --- a/integration_tests/commands/http/hexists_test.go +++ b/integration_tests/commands/http/hexists_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/hget_test.go b/integration_tests/commands/http/hget_test.go index 364fdc0d2..b607d1ac6 100644 --- a/integration_tests/commands/http/hget_test.go +++ b/integration_tests/commands/http/hget_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/hincrby_test.go b/integration_tests/commands/http/hincrby_test.go index c01590762..9eca44c51 100644 --- a/integration_tests/commands/http/hincrby_test.go +++ b/integration_tests/commands/http/hincrby_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/hincrbyfloat_test.go b/integration_tests/commands/http/hincrbyfloat_test.go index 94b42e8e9..a715cca55 100644 --- a/integration_tests/commands/http/hincrbyfloat_test.go +++ b/integration_tests/commands/http/hincrbyfloat_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/hkeys_test.go b/integration_tests/commands/http/hkeys_test.go index b93373669..4c8acc475 100644 --- a/integration_tests/commands/http/hkeys_test.go +++ b/integration_tests/commands/http/hkeys_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/hlen_test.go b/integration_tests/commands/http/hlen_test.go index 91daef6f4..42bb113be 100644 --- a/integration_tests/commands/http/hlen_test.go +++ b/integration_tests/commands/http/hlen_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/hrandfield_test.go b/integration_tests/commands/http/hrandfield_test.go index 2067e9fe8..74d6945fd 100644 --- a/integration_tests/commands/http/hrandfield_test.go +++ b/integration_tests/commands/http/hrandfield_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/hscan_test.go b/integration_tests/commands/http/hscan_test.go index d3c048210..690a8db2c 100644 --- a/integration_tests/commands/http/hscan_test.go +++ b/integration_tests/commands/http/hscan_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/hset_test.go b/integration_tests/commands/http/hset_test.go index e17bf6574..baeb4beb3 100644 --- a/integration_tests/commands/http/hset_test.go +++ b/integration_tests/commands/http/hset_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/hsetnx_test.go b/integration_tests/commands/http/hsetnx_test.go index 133ab883c..84760e619 100644 --- a/integration_tests/commands/http/hsetnx_test.go +++ b/integration_tests/commands/http/hsetnx_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/hstrlen_test.go b/integration_tests/commands/http/hstrlen_test.go index 7e4685463..602d23fe1 100644 --- a/integration_tests/commands/http/hstrlen_test.go +++ b/integration_tests/commands/http/hstrlen_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/hvals_test.go b/integration_tests/commands/http/hvals_test.go index 7b0c3b2e1..04eca2d32 100644 --- a/integration_tests/commands/http/hvals_test.go +++ b/integration_tests/commands/http/hvals_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/hyperloglog_test.go b/integration_tests/commands/http/hyperloglog_test.go index 70ac1e807..562ae3c8a 100644 --- a/integration_tests/commands/http/hyperloglog_test.go +++ b/integration_tests/commands/http/hyperloglog_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/incr_by_float_test.go b/integration_tests/commands/http/incr_by_float_test.go index d38c2fe0a..110c18113 100644 --- a/integration_tests/commands/http/incr_by_float_test.go +++ b/integration_tests/commands/http/incr_by_float_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/incr_test.go b/integration_tests/commands/http/incr_test.go index fa2aeaf3a..407f22368 100644 --- a/integration_tests/commands/http/incr_test.go +++ b/integration_tests/commands/http/incr_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/json_arrpop_test.go b/integration_tests/commands/http/json_arrpop_test.go index b564a6a8f..8493b9d4f 100644 --- a/integration_tests/commands/http/json_arrpop_test.go +++ b/integration_tests/commands/http/json_arrpop_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/json_test.go b/integration_tests/commands/http/json_test.go index ebcee8c07..b0a2700bd 100644 --- a/integration_tests/commands/http/json_test.go +++ b/integration_tests/commands/http/json_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/jsondebug_test.go b/integration_tests/commands/http/jsondebug_test.go index 37ab3a061..0bc197746 100644 --- a/integration_tests/commands/http/jsondebug_test.go +++ b/integration_tests/commands/http/jsondebug_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/jsonresp_test.go b/integration_tests/commands/http/jsonresp_test.go index b408dbb1a..e0f2be2b6 100644 --- a/integration_tests/commands/http/jsonresp_test.go +++ b/integration_tests/commands/http/jsonresp_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/keys_test.go b/integration_tests/commands/http/keys_test.go index 6219a3945..a23136259 100644 --- a/integration_tests/commands/http/keys_test.go +++ b/integration_tests/commands/http/keys_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + //go:build ignore // +build ignore diff --git a/integration_tests/commands/http/main_test.go b/integration_tests/commands/http/main_test.go index 0e480a37e..b2c5ac3f9 100644 --- a/integration_tests/commands/http/main_test.go +++ b/integration_tests/commands/http/main_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/mget_test.go b/integration_tests/commands/http/mget_test.go index ae85f68ff..01d68507a 100644 --- a/integration_tests/commands/http/mget_test.go +++ b/integration_tests/commands/http/mget_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + //go:build ignore // +build ignore diff --git a/integration_tests/commands/http/mset_test.go b/integration_tests/commands/http/mset_test.go index 7a0d47f87..4383f6e99 100644 --- a/integration_tests/commands/http/mset_test.go +++ b/integration_tests/commands/http/mset_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + //go:build ignore // +build ignore diff --git a/integration_tests/commands/http/object_test.go b/integration_tests/commands/http/object_test.go index b0b105883..db9d5293a 100644 --- a/integration_tests/commands/http/object_test.go +++ b/integration_tests/commands/http/object_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + //go:build ignore // +build ignore diff --git a/integration_tests/commands/http/set_data_cmd_test.go b/integration_tests/commands/http/set_data_cmd_test.go index adbd66bce..561347020 100644 --- a/integration_tests/commands/http/set_data_cmd_test.go +++ b/integration_tests/commands/http/set_data_cmd_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/set_test.go b/integration_tests/commands/http/set_test.go index 84c10f8d8..6c1803196 100644 --- a/integration_tests/commands/http/set_test.go +++ b/integration_tests/commands/http/set_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/setup.go b/integration_tests/commands/http/setup.go index 24ef1aa00..2e257026d 100644 --- a/integration_tests/commands/http/setup.go +++ b/integration_tests/commands/http/setup.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/touch_test.go b/integration_tests/commands/http/touch_test.go index 454a24821..7133069e1 100644 --- a/integration_tests/commands/http/touch_test.go +++ b/integration_tests/commands/http/touch_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + //go:build ignore // +build ignore diff --git a/integration_tests/commands/http/ttl_pttl_test.go b/integration_tests/commands/http/ttl_pttl_test.go index 0d3f8ce37..dffb88c9c 100644 --- a/integration_tests/commands/http/ttl_pttl_test.go +++ b/integration_tests/commands/http/ttl_pttl_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/type_test.go b/integration_tests/commands/http/type_test.go index 7342f002f..43a04f02b 100644 --- a/integration_tests/commands/http/type_test.go +++ b/integration_tests/commands/http/type_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/zcard_test.go b/integration_tests/commands/http/zcard_test.go index 29c869d97..b729be37c 100644 --- a/integration_tests/commands/http/zcard_test.go +++ b/integration_tests/commands/http/zcard_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/zpopmax_test.go b/integration_tests/commands/http/zpopmax_test.go index 971f31924..79ac01bd9 100644 --- a/integration_tests/commands/http/zpopmax_test.go +++ b/integration_tests/commands/http/zpopmax_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/zrank_test.go b/integration_tests/commands/http/zrank_test.go index 82bdc6558..7f8c00665 100644 --- a/integration_tests/commands/http/zrank_test.go +++ b/integration_tests/commands/http/zrank_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/zrem_test.go b/integration_tests/commands/http/zrem_test.go index 733c5c793..7105efe41 100644 --- a/integration_tests/commands/http/zrem_test.go +++ b/integration_tests/commands/http/zrem_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/http/zset_test.go b/integration_tests/commands/http/zset_test.go index 1b54678e9..8ce42cb6b 100644 --- a/integration_tests/commands/http/zset_test.go +++ b/integration_tests/commands/http/zset_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package http import ( diff --git a/integration_tests/commands/resp/abort/server_abort_test.go b/integration_tests/commands/resp/abort/server_abort_test.go index b7515839e..0bafdaa2e 100644 --- a/integration_tests/commands/resp/abort/server_abort_test.go +++ b/integration_tests/commands/resp/abort/server_abort_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package abort import ( diff --git a/integration_tests/commands/resp/append_test.go b/integration_tests/commands/resp/append_test.go index 85829fa66..4b6aa1a81 100644 --- a/integration_tests/commands/resp/append_test.go +++ b/integration_tests/commands/resp/append_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/bit_test.go b/integration_tests/commands/resp/bit_test.go index 7d7d48212..db14a4a9d 100644 --- a/integration_tests/commands/resp/bit_test.go +++ b/integration_tests/commands/resp/bit_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp // The following commands are a part of this test class: diff --git a/integration_tests/commands/resp/bloom_test.go b/integration_tests/commands/resp/bloom_test.go index 5af5b3044..14e6f2f4e 100644 --- a/integration_tests/commands/resp/bloom_test.go +++ b/integration_tests/commands/resp/bloom_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/check_type_test.go b/integration_tests/commands/resp/check_type_test.go index 80530c77b..b3d280f0d 100644 --- a/integration_tests/commands/resp/check_type_test.go +++ b/integration_tests/commands/resp/check_type_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/command_count_test.go b/integration_tests/commands/resp/command_count_test.go index 7112e9dbb..33b4dcaf0 100644 --- a/integration_tests/commands/resp/command_count_test.go +++ b/integration_tests/commands/resp/command_count_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/command_default_test.go b/integration_tests/commands/resp/command_default_test.go index 8ca752e5b..543100005 100644 --- a/integration_tests/commands/resp/command_default_test.go +++ b/integration_tests/commands/resp/command_default_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/command_docs_test.go b/integration_tests/commands/resp/command_docs_test.go index 25fe40f78..a344c69e0 100644 --- a/integration_tests/commands/resp/command_docs_test.go +++ b/integration_tests/commands/resp/command_docs_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/command_getkeys_test.go b/integration_tests/commands/resp/command_getkeys_test.go index 166079b4b..228fe409c 100644 --- a/integration_tests/commands/resp/command_getkeys_test.go +++ b/integration_tests/commands/resp/command_getkeys_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/command_info_test.go b/integration_tests/commands/resp/command_info_test.go index e9d71ff5a..76c849d55 100644 --- a/integration_tests/commands/resp/command_info_test.go +++ b/integration_tests/commands/resp/command_info_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/command_list_test.go b/integration_tests/commands/resp/command_list_test.go index 57d5513e7..a6dbeb590 100644 --- a/integration_tests/commands/resp/command_list_test.go +++ b/integration_tests/commands/resp/command_list_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/command_rename_test.go b/integration_tests/commands/resp/command_rename_test.go index bff051cba..1d3976379 100644 --- a/integration_tests/commands/resp/command_rename_test.go +++ b/integration_tests/commands/resp/command_rename_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/copy_test.go b/integration_tests/commands/resp/copy_test.go index 95f8817ae..f9db9951c 100644 --- a/integration_tests/commands/resp/copy_test.go +++ b/integration_tests/commands/resp/copy_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/countminsketch_test.go b/integration_tests/commands/resp/countminsketch_test.go index e1c66575c..5ee7feb70 100644 --- a/integration_tests/commands/resp/countminsketch_test.go +++ b/integration_tests/commands/resp/countminsketch_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/dbsize_test.go b/integration_tests/commands/resp/dbsize_test.go index aee23acf0..1a3db23bb 100644 --- a/integration_tests/commands/resp/dbsize_test.go +++ b/integration_tests/commands/resp/dbsize_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/decr_test.go b/integration_tests/commands/resp/decr_test.go index dfe06b2e3..625ad5fc3 100644 --- a/integration_tests/commands/resp/decr_test.go +++ b/integration_tests/commands/resp/decr_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/del_test.go b/integration_tests/commands/resp/del_test.go index bf02a80bf..780ba9c64 100644 --- a/integration_tests/commands/resp/del_test.go +++ b/integration_tests/commands/resp/del_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/deque_test.go b/integration_tests/commands/resp/deque_test.go index db69db3ce..d80263633 100644 --- a/integration_tests/commands/resp/deque_test.go +++ b/integration_tests/commands/resp/deque_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/dump_test.go b/integration_tests/commands/resp/dump_test.go index 27d50badb..35326855f 100644 --- a/integration_tests/commands/resp/dump_test.go +++ b/integration_tests/commands/resp/dump_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/echo_test.go b/integration_tests/commands/resp/echo_test.go index e21df6798..50a2eac93 100644 --- a/integration_tests/commands/resp/echo_test.go +++ b/integration_tests/commands/resp/echo_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/exists_test.go b/integration_tests/commands/resp/exists_test.go index 1b8ec6d26..6f5828f9c 100644 --- a/integration_tests/commands/resp/exists_test.go +++ b/integration_tests/commands/resp/exists_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/expire_test.go b/integration_tests/commands/resp/expire_test.go index 12b2e71c9..f85ef0ea6 100644 --- a/integration_tests/commands/resp/expire_test.go +++ b/integration_tests/commands/resp/expire_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/flushdb_test.go b/integration_tests/commands/resp/flushdb_test.go index 59cc2d506..df652758e 100644 --- a/integration_tests/commands/resp/flushdb_test.go +++ b/integration_tests/commands/resp/flushdb_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/geo_test.go b/integration_tests/commands/resp/geo_test.go index b6eefc927..ba4a1d400 100644 --- a/integration_tests/commands/resp/geo_test.go +++ b/integration_tests/commands/resp/geo_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/get_test.go b/integration_tests/commands/resp/get_test.go index a7dc5f118..4358a139d 100644 --- a/integration_tests/commands/resp/get_test.go +++ b/integration_tests/commands/resp/get_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/getdel_test.go b/integration_tests/commands/resp/getdel_test.go index b92cf7582..3b5459121 100644 --- a/integration_tests/commands/resp/getdel_test.go +++ b/integration_tests/commands/resp/getdel_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/getex_test.go b/integration_tests/commands/resp/getex_test.go index 94fa5434f..dabb5c1c0 100644 --- a/integration_tests/commands/resp/getex_test.go +++ b/integration_tests/commands/resp/getex_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/getrange_test.go b/integration_tests/commands/resp/getrange_test.go index 343654f6d..00a3e5e05 100644 --- a/integration_tests/commands/resp/getrange_test.go +++ b/integration_tests/commands/resp/getrange_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/getset_test.go b/integration_tests/commands/resp/getset_test.go index 8846bae9e..1dadf2595 100644 --- a/integration_tests/commands/resp/getset_test.go +++ b/integration_tests/commands/resp/getset_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/getunwatch_test.go b/integration_tests/commands/resp/getunwatch_test.go index 2adf4f234..92e63f441 100644 --- a/integration_tests/commands/resp/getunwatch_test.go +++ b/integration_tests/commands/resp/getunwatch_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/getwatch_test.go b/integration_tests/commands/resp/getwatch_test.go index 177007e12..8bcf32a40 100644 --- a/integration_tests/commands/resp/getwatch_test.go +++ b/integration_tests/commands/resp/getwatch_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/hdel_test.go b/integration_tests/commands/resp/hdel_test.go index f931f781a..a0f57c166 100644 --- a/integration_tests/commands/resp/hdel_test.go +++ b/integration_tests/commands/resp/hdel_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/hello_test.go b/integration_tests/commands/resp/hello_test.go index 015a2553e..e3f6b2a20 100644 --- a/integration_tests/commands/resp/hello_test.go +++ b/integration_tests/commands/resp/hello_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/hexists_test.go b/integration_tests/commands/resp/hexists_test.go index 65ab8914e..6b294187a 100644 --- a/integration_tests/commands/resp/hexists_test.go +++ b/integration_tests/commands/resp/hexists_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/hget_test.go b/integration_tests/commands/resp/hget_test.go index 79489550b..e6aac7fc8 100644 --- a/integration_tests/commands/resp/hget_test.go +++ b/integration_tests/commands/resp/hget_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/hgetall_test.go b/integration_tests/commands/resp/hgetall_test.go index c179d9b7e..cc7a7cb2e 100644 --- a/integration_tests/commands/resp/hgetall_test.go +++ b/integration_tests/commands/resp/hgetall_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/hincrby_test.go b/integration_tests/commands/resp/hincrby_test.go index 01f694a3b..42bf19ce3 100644 --- a/integration_tests/commands/resp/hincrby_test.go +++ b/integration_tests/commands/resp/hincrby_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/hincrbyfloat_test.go b/integration_tests/commands/resp/hincrbyfloat_test.go index df16faeb7..8b908315d 100644 --- a/integration_tests/commands/resp/hincrbyfloat_test.go +++ b/integration_tests/commands/resp/hincrbyfloat_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/hkeys_test.go b/integration_tests/commands/resp/hkeys_test.go index 92597730b..4d6d408e0 100644 --- a/integration_tests/commands/resp/hkeys_test.go +++ b/integration_tests/commands/resp/hkeys_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/hlen_test.go b/integration_tests/commands/resp/hlen_test.go index eae9b1be8..416c1c90b 100644 --- a/integration_tests/commands/resp/hlen_test.go +++ b/integration_tests/commands/resp/hlen_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/hmget_test.go b/integration_tests/commands/resp/hmget_test.go index ad946e9cf..22e5c9898 100644 --- a/integration_tests/commands/resp/hmget_test.go +++ b/integration_tests/commands/resp/hmget_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/hmset_test.go b/integration_tests/commands/resp/hmset_test.go index 44e68d0a6..371ab8025 100644 --- a/integration_tests/commands/resp/hmset_test.go +++ b/integration_tests/commands/resp/hmset_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/hrandfield_test.go b/integration_tests/commands/resp/hrandfield_test.go index 45f879a7d..70e5a75d4 100644 --- a/integration_tests/commands/resp/hrandfield_test.go +++ b/integration_tests/commands/resp/hrandfield_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/hscan_test.go b/integration_tests/commands/resp/hscan_test.go index d019cb852..ec1f0ba2e 100644 --- a/integration_tests/commands/resp/hscan_test.go +++ b/integration_tests/commands/resp/hscan_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/hset_test.go b/integration_tests/commands/resp/hset_test.go index 272df8889..8d85b5e8a 100644 --- a/integration_tests/commands/resp/hset_test.go +++ b/integration_tests/commands/resp/hset_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/hsetnx_test.go b/integration_tests/commands/resp/hsetnx_test.go index 8e59e3160..1970ba63e 100644 --- a/integration_tests/commands/resp/hsetnx_test.go +++ b/integration_tests/commands/resp/hsetnx_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/hstrlen_test.go b/integration_tests/commands/resp/hstrlen_test.go index 28c51bf13..793646ad4 100644 --- a/integration_tests/commands/resp/hstrlen_test.go +++ b/integration_tests/commands/resp/hstrlen_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/hvals_test.go b/integration_tests/commands/resp/hvals_test.go index ca0a10dfe..ff0690187 100644 --- a/integration_tests/commands/resp/hvals_test.go +++ b/integration_tests/commands/resp/hvals_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/hyperloglog_test.go b/integration_tests/commands/resp/hyperloglog_test.go index d6e09a3c7..d927220d7 100644 --- a/integration_tests/commands/resp/hyperloglog_test.go +++ b/integration_tests/commands/resp/hyperloglog_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp // All commands related to Hyperloglog are part of this test class diff --git a/integration_tests/commands/resp/incr_by_float_test.go b/integration_tests/commands/resp/incr_by_float_test.go index e47bdf717..b7a2f6935 100644 --- a/integration_tests/commands/resp/incr_by_float_test.go +++ b/integration_tests/commands/resp/incr_by_float_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/incr_test.go b/integration_tests/commands/resp/incr_test.go index 24077f925..9fa2a1404 100644 --- a/integration_tests/commands/resp/incr_test.go +++ b/integration_tests/commands/resp/incr_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/json_test.go b/integration_tests/commands/resp/json_test.go index c2c498a32..254ced30d 100644 --- a/integration_tests/commands/resp/json_test.go +++ b/integration_tests/commands/resp/json_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/jsondebug_test.go b/integration_tests/commands/resp/jsondebug_test.go index 8ad10a9ae..e76230d90 100644 --- a/integration_tests/commands/resp/jsondebug_test.go +++ b/integration_tests/commands/resp/jsondebug_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/jsonresp_test.go b/integration_tests/commands/resp/jsonresp_test.go index 9078c91af..947d2bf88 100644 --- a/integration_tests/commands/resp/jsonresp_test.go +++ b/integration_tests/commands/resp/jsonresp_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/keys_test.go b/integration_tests/commands/resp/keys_test.go index cf548152c..5ce99d427 100644 --- a/integration_tests/commands/resp/keys_test.go +++ b/integration_tests/commands/resp/keys_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/main_test.go b/integration_tests/commands/resp/main_test.go index 757c98083..7e0ab3a5d 100644 --- a/integration_tests/commands/resp/main_test.go +++ b/integration_tests/commands/resp/main_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/mget_test.go b/integration_tests/commands/resp/mget_test.go index 2df676e08..79850e4aa 100644 --- a/integration_tests/commands/resp/mget_test.go +++ b/integration_tests/commands/resp/mget_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/mset_test.go b/integration_tests/commands/resp/mset_test.go index 0e82a179a..391b5e0c9 100644 --- a/integration_tests/commands/resp/mset_test.go +++ b/integration_tests/commands/resp/mset_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/object_test.go b/integration_tests/commands/resp/object_test.go index cd6c9cd74..9fb23cf79 100644 --- a/integration_tests/commands/resp/object_test.go +++ b/integration_tests/commands/resp/object_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/pfcountwatch_test.go b/integration_tests/commands/resp/pfcountwatch_test.go index 84ec4f316..5d5f1776e 100644 --- a/integration_tests/commands/resp/pfcountwatch_test.go +++ b/integration_tests/commands/resp/pfcountwatch_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/set_data_cmd_test.go b/integration_tests/commands/resp/set_data_cmd_test.go index 5efb0bf75..7376e584f 100644 --- a/integration_tests/commands/resp/set_data_cmd_test.go +++ b/integration_tests/commands/resp/set_data_cmd_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/set_test.go b/integration_tests/commands/resp/set_test.go index dc07883f9..dee56f95c 100644 --- a/integration_tests/commands/resp/set_test.go +++ b/integration_tests/commands/resp/set_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/setup.go b/integration_tests/commands/resp/setup.go index b98cdd31c..0e55e890b 100644 --- a/integration_tests/commands/resp/setup.go +++ b/integration_tests/commands/resp/setup.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/touch_test.go b/integration_tests/commands/resp/touch_test.go index 17ef6e4f9..cf291e2ff 100644 --- a/integration_tests/commands/resp/touch_test.go +++ b/integration_tests/commands/resp/touch_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/ttl_pttl_test.go b/integration_tests/commands/resp/ttl_pttl_test.go index 4853196d4..42546992b 100644 --- a/integration_tests/commands/resp/ttl_pttl_test.go +++ b/integration_tests/commands/resp/ttl_pttl_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/type_test.go b/integration_tests/commands/resp/type_test.go index a67f63c53..482fc7b71 100644 --- a/integration_tests/commands/resp/type_test.go +++ b/integration_tests/commands/resp/type_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/zcard_test.go b/integration_tests/commands/resp/zcard_test.go index b799ae170..b5e4a445d 100644 --- a/integration_tests/commands/resp/zcard_test.go +++ b/integration_tests/commands/resp/zcard_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/zpopmax_test.go b/integration_tests/commands/resp/zpopmax_test.go index f89389259..832ce5bee 100644 --- a/integration_tests/commands/resp/zpopmax_test.go +++ b/integration_tests/commands/resp/zpopmax_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/zrangewatch_test.go b/integration_tests/commands/resp/zrangewatch_test.go index 2f518b056..3fa93d9c2 100644 --- a/integration_tests/commands/resp/zrangewatch_test.go +++ b/integration_tests/commands/resp/zrangewatch_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/zrank_test.go b/integration_tests/commands/resp/zrank_test.go index 3f0dc552e..f8affe50f 100644 --- a/integration_tests/commands/resp/zrank_test.go +++ b/integration_tests/commands/resp/zrank_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/zrem_test.go b/integration_tests/commands/resp/zrem_test.go index 7ff8956bb..13fc14f83 100644 --- a/integration_tests/commands/resp/zrem_test.go +++ b/integration_tests/commands/resp/zrem_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/resp/zset_test.go b/integration_tests/commands/resp/zset_test.go index 60e3b7196..d5f64909a 100644 --- a/integration_tests/commands/resp/zset_test.go +++ b/integration_tests/commands/resp/zset_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/integration_tests/commands/websocket/append_test.go b/integration_tests/commands/websocket/append_test.go index a04e4d1d3..55eea5b93 100644 --- a/integration_tests/commands/websocket/append_test.go +++ b/integration_tests/commands/websocket/append_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/bit_test.go b/integration_tests/commands/websocket/bit_test.go index f2a97e5be..1e0ebdf19 100644 --- a/integration_tests/commands/websocket/bit_test.go +++ b/integration_tests/commands/websocket/bit_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/bloom_test.go b/integration_tests/commands/websocket/bloom_test.go index d8c9222ca..af2c17a10 100644 --- a/integration_tests/commands/websocket/bloom_test.go +++ b/integration_tests/commands/websocket/bloom_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/command_docs_test.go b/integration_tests/commands/websocket/command_docs_test.go index 6daa42571..f6f999402 100644 --- a/integration_tests/commands/websocket/command_docs_test.go +++ b/integration_tests/commands/websocket/command_docs_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/countminsketch_test.go b/integration_tests/commands/websocket/countminsketch_test.go index f6e168bc4..4f6b52561 100644 --- a/integration_tests/commands/websocket/countminsketch_test.go +++ b/integration_tests/commands/websocket/countminsketch_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/decr_test.go b/integration_tests/commands/websocket/decr_test.go index 6727f05b1..62d59a024 100644 --- a/integration_tests/commands/websocket/decr_test.go +++ b/integration_tests/commands/websocket/decr_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/del_test.go b/integration_tests/commands/websocket/del_test.go index db00c056e..e2b8e821d 100644 --- a/integration_tests/commands/websocket/del_test.go +++ b/integration_tests/commands/websocket/del_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/deque_test.go b/integration_tests/commands/websocket/deque_test.go index ff986e111..1b98e7452 100644 --- a/integration_tests/commands/websocket/deque_test.go +++ b/integration_tests/commands/websocket/deque_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/exists_test.go b/integration_tests/commands/websocket/exists_test.go index eea311ef2..1a90ff867 100644 --- a/integration_tests/commands/websocket/exists_test.go +++ b/integration_tests/commands/websocket/exists_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/expire_test.go b/integration_tests/commands/websocket/expire_test.go index 9cf9e8713..a46a96dc4 100644 --- a/integration_tests/commands/websocket/expire_test.go +++ b/integration_tests/commands/websocket/expire_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/geo_test.go b/integration_tests/commands/websocket/geo_test.go index e7402f7de..65723f950 100644 --- a/integration_tests/commands/websocket/geo_test.go +++ b/integration_tests/commands/websocket/geo_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/get_test.go b/integration_tests/commands/websocket/get_test.go index b7b9b5688..26e3e38d1 100644 --- a/integration_tests/commands/websocket/get_test.go +++ b/integration_tests/commands/websocket/get_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/getrange_test.go b/integration_tests/commands/websocket/getrange_test.go index 136d0d0cc..a29ef63c9 100644 --- a/integration_tests/commands/websocket/getrange_test.go +++ b/integration_tests/commands/websocket/getrange_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/hdel_test.go b/integration_tests/commands/websocket/hdel_test.go index 92ca4e481..fc5c11319 100644 --- a/integration_tests/commands/websocket/hdel_test.go +++ b/integration_tests/commands/websocket/hdel_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/helper.go b/integration_tests/commands/websocket/helper.go index 1face2836..90c3f359a 100644 --- a/integration_tests/commands/websocket/helper.go +++ b/integration_tests/commands/websocket/helper.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/hexists_test.go b/integration_tests/commands/websocket/hexists_test.go index 19c28b1bb..8194d0b70 100644 --- a/integration_tests/commands/websocket/hexists_test.go +++ b/integration_tests/commands/websocket/hexists_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/hget_test.go b/integration_tests/commands/websocket/hget_test.go index 36aeb2feb..16b80884f 100644 --- a/integration_tests/commands/websocket/hget_test.go +++ b/integration_tests/commands/websocket/hget_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/hincrby_test.go b/integration_tests/commands/websocket/hincrby_test.go index 669ab8973..db589aade 100644 --- a/integration_tests/commands/websocket/hincrby_test.go +++ b/integration_tests/commands/websocket/hincrby_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/hincrbyfloat_test.go b/integration_tests/commands/websocket/hincrbyfloat_test.go index a7f76544e..819741df2 100644 --- a/integration_tests/commands/websocket/hincrbyfloat_test.go +++ b/integration_tests/commands/websocket/hincrbyfloat_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/hkeys_test.go b/integration_tests/commands/websocket/hkeys_test.go index 16a86291c..66adc00fc 100644 --- a/integration_tests/commands/websocket/hkeys_test.go +++ b/integration_tests/commands/websocket/hkeys_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/hlen_test.go b/integration_tests/commands/websocket/hlen_test.go index 093a89dd6..2410809cc 100644 --- a/integration_tests/commands/websocket/hlen_test.go +++ b/integration_tests/commands/websocket/hlen_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/hrandfield_test.go b/integration_tests/commands/websocket/hrandfield_test.go index f073f0a6f..a2d34e184 100644 --- a/integration_tests/commands/websocket/hrandfield_test.go +++ b/integration_tests/commands/websocket/hrandfield_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/hscan_test.go b/integration_tests/commands/websocket/hscan_test.go index d9f1f8ca2..62e0c2fc8 100644 --- a/integration_tests/commands/websocket/hscan_test.go +++ b/integration_tests/commands/websocket/hscan_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/hset_test.go b/integration_tests/commands/websocket/hset_test.go index bc2764de2..dc1f1b551 100644 --- a/integration_tests/commands/websocket/hset_test.go +++ b/integration_tests/commands/websocket/hset_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/hstrlen_test.go b/integration_tests/commands/websocket/hstrlen_test.go index 3215a0b9e..e84a79f9e 100644 --- a/integration_tests/commands/websocket/hstrlen_test.go +++ b/integration_tests/commands/websocket/hstrlen_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/hvals_test.go b/integration_tests/commands/websocket/hvals_test.go index e939a6495..e60401db1 100644 --- a/integration_tests/commands/websocket/hvals_test.go +++ b/integration_tests/commands/websocket/hvals_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/hyperloglog_test.go b/integration_tests/commands/websocket/hyperloglog_test.go index 2da7dfca3..4b4b1586f 100644 --- a/integration_tests/commands/websocket/hyperloglog_test.go +++ b/integration_tests/commands/websocket/hyperloglog_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/incr_by_float_test.go b/integration_tests/commands/websocket/incr_by_float_test.go index 52ba2d3e5..b99532183 100644 --- a/integration_tests/commands/websocket/incr_by_float_test.go +++ b/integration_tests/commands/websocket/incr_by_float_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/incr_test.go b/integration_tests/commands/websocket/incr_test.go index e066e8999..ce21210e0 100644 --- a/integration_tests/commands/websocket/incr_test.go +++ b/integration_tests/commands/websocket/incr_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/json_test.go b/integration_tests/commands/websocket/json_test.go index 71b85a079..de7c84fa9 100644 --- a/integration_tests/commands/websocket/json_test.go +++ b/integration_tests/commands/websocket/json_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/jsondebug_test.go b/integration_tests/commands/websocket/jsondebug_test.go index 77a805f69..3801b9e52 100644 --- a/integration_tests/commands/websocket/jsondebug_test.go +++ b/integration_tests/commands/websocket/jsondebug_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/jsonresp_test.go b/integration_tests/commands/websocket/jsonresp_test.go index aac9aa469..b30fd1588 100644 --- a/integration_tests/commands/websocket/jsonresp_test.go +++ b/integration_tests/commands/websocket/jsonresp_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/main_test.go b/integration_tests/commands/websocket/main_test.go index 1c4ac68bb..4cd01bde6 100644 --- a/integration_tests/commands/websocket/main_test.go +++ b/integration_tests/commands/websocket/main_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/set_test.go b/integration_tests/commands/websocket/set_test.go index 8dac72f15..8d4ade149 100644 --- a/integration_tests/commands/websocket/set_test.go +++ b/integration_tests/commands/websocket/set_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/setup.go b/integration_tests/commands/websocket/setup.go index 281836f30..e9ed697f7 100644 --- a/integration_tests/commands/websocket/setup.go +++ b/integration_tests/commands/websocket/setup.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/ttl_pttl_test.go b/integration_tests/commands/websocket/ttl_pttl_test.go index a87ef2208..b6394db49 100644 --- a/integration_tests/commands/websocket/ttl_pttl_test.go +++ b/integration_tests/commands/websocket/ttl_pttl_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/type_test.go b/integration_tests/commands/websocket/type_test.go index 067d8ebc9..28ab4303e 100644 --- a/integration_tests/commands/websocket/type_test.go +++ b/integration_tests/commands/websocket/type_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/writeretry_test.go b/integration_tests/commands/websocket/writeretry_test.go index 978b836af..b2a2feb72 100644 --- a/integration_tests/commands/websocket/writeretry_test.go +++ b/integration_tests/commands/websocket/writeretry_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/zcard_test.go b/integration_tests/commands/websocket/zcard_test.go index 34561134b..aab00e6c5 100644 --- a/integration_tests/commands/websocket/zcard_test.go +++ b/integration_tests/commands/websocket/zcard_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/zpopmax_test.go b/integration_tests/commands/websocket/zpopmax_test.go index f91557601..753dddc3e 100644 --- a/integration_tests/commands/websocket/zpopmax_test.go +++ b/integration_tests/commands/websocket/zpopmax_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/zrank_test.go b/integration_tests/commands/websocket/zrank_test.go index c48694e35..dc1f496c6 100644 --- a/integration_tests/commands/websocket/zrank_test.go +++ b/integration_tests/commands/websocket/zrank_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/zrem_test.go b/integration_tests/commands/websocket/zrem_test.go index ef8f9e3ae..242b74b83 100644 --- a/integration_tests/commands/websocket/zrem_test.go +++ b/integration_tests/commands/websocket/zrem_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/commands/websocket/zset_test.go b/integration_tests/commands/websocket/zset_test.go index 30c4bfd56..30e6ec3b3 100644 --- a/integration_tests/commands/websocket/zset_test.go +++ b/integration_tests/commands/websocket/zset_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package websocket import ( diff --git a/integration_tests/config/config_test.go b/integration_tests/config/config_test.go index c8063c0b0..d448f733a 100644 --- a/integration_tests/config/config_test.go +++ b/integration_tests/config/config_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package config_test import ( diff --git a/integration_tests/config/parser_test.go b/integration_tests/config/parser_test.go index 31a670288..4e68504d1 100644 --- a/integration_tests/config/parser_test.go +++ b/integration_tests/config/parser_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package config_test import ( diff --git a/integration_tests/server/max_conn_test.go b/integration_tests/server/max_conn_test.go index ded10e2de..3f13c4ac3 100644 --- a/integration_tests/server/max_conn_test.go +++ b/integration_tests/server/max_conn_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package server import ( diff --git a/integration_tests/server/server_abort_test.go b/integration_tests/server/server_abort_test.go index 6b227fa8f..d27f4a6b7 100644 --- a/integration_tests/server/server_abort_test.go +++ b/integration_tests/server/server_abort_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package server import ( diff --git a/integration_tests/server/setup.go b/integration_tests/server/setup.go index b3afe6a18..9ddbe6b77 100644 --- a/integration_tests/server/setup.go +++ b/integration_tests/server/setup.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package server import ( diff --git a/internal/auth/session.go b/internal/auth/session.go index 02f13c506..a9dad704a 100644 --- a/internal/auth/session.go +++ b/internal/auth/session.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package auth import ( diff --git a/internal/auth/session_test.go b/internal/auth/session_test.go index 05f93ae56..01ca56fd0 100644 --- a/internal/auth/session_test.go +++ b/internal/auth/session_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package auth import ( diff --git a/internal/cli/cli.go b/internal/cli/cli.go index 62820dec4..7db447bf3 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package cli import ( diff --git a/internal/clientio/io.go b/internal/clientio/io.go index 1651d6744..ca34404d0 100644 --- a/internal/clientio/io.go +++ b/internal/clientio/io.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package clientio import ( diff --git a/internal/clientio/io_test.go b/internal/clientio/io_test.go index f99e641ba..1f1035d02 100644 --- a/internal/clientio/io_test.go +++ b/internal/clientio/io_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package clientio import ( diff --git a/internal/clientio/iohandler/iohandler.go b/internal/clientio/iohandler/iohandler.go index 3b887a5c8..c922e09b2 100644 --- a/internal/clientio/iohandler/iohandler.go +++ b/internal/clientio/iohandler/iohandler.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package iohandler import ( diff --git a/internal/clientio/iohandler/netconn/netconn.go b/internal/clientio/iohandler/netconn/netconn.go index 3079140f6..309bcd86a 100644 --- a/internal/clientio/iohandler/netconn/netconn.go +++ b/internal/clientio/iohandler/netconn/netconn.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package netconn import ( diff --git a/internal/clientio/iohandler/netconn/netconn_resp_test.go b/internal/clientio/iohandler/netconn/netconn_resp_test.go index a391aa922..aa4a67c6c 100644 --- a/internal/clientio/iohandler/netconn/netconn_resp_test.go +++ b/internal/clientio/iohandler/netconn/netconn_resp_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package netconn import ( diff --git a/internal/clientio/iohandler/netconn/netconn_test.go b/internal/clientio/iohandler/netconn/netconn_test.go index a273f2c3d..1c6056a9c 100644 --- a/internal/clientio/iohandler/netconn/netconn_test.go +++ b/internal/clientio/iohandler/netconn/netconn_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package netconn import ( diff --git a/internal/clientio/requestparser/parser.go b/internal/clientio/requestparser/parser.go index 07af168ce..ac0143c79 100644 --- a/internal/clientio/requestparser/parser.go +++ b/internal/clientio/requestparser/parser.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package requestparser import ( diff --git a/internal/clientio/requestparser/resp/respparser.go b/internal/clientio/requestparser/resp/respparser.go index 71ad93eaf..d379a69f9 100644 --- a/internal/clientio/requestparser/resp/respparser.go +++ b/internal/clientio/requestparser/resp/respparser.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package respparser import ( diff --git a/internal/clientio/requestparser/resp/respparser_test.go b/internal/clientio/requestparser/resp/respparser_test.go index bfe553017..e6987bc8e 100644 --- a/internal/clientio/requestparser/resp/respparser_test.go +++ b/internal/clientio/requestparser/resp/respparser_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package respparser import ( diff --git a/internal/clientio/resp.go b/internal/clientio/resp.go index fdfc1dccb..d15119392 100644 --- a/internal/clientio/resp.go +++ b/internal/clientio/resp.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package clientio import ( diff --git a/internal/clientio/resp_test.go b/internal/clientio/resp_test.go index 2ff0c71cc..9e5376e34 100644 --- a/internal/clientio/resp_test.go +++ b/internal/clientio/resp_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package clientio_test import ( diff --git a/internal/cmd/cmds.go b/internal/cmd/cmds.go index d2a955c67..cf886c7ff 100644 --- a/internal/cmd/cmds.go +++ b/internal/cmd/cmds.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package cmd import ( diff --git a/internal/comm/client.go b/internal/comm/client.go index c24736c77..65c05dfd8 100644 --- a/internal/comm/client.go +++ b/internal/comm/client.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package comm import ( diff --git a/internal/common/map.go b/internal/common/map.go index 052dde27c..f9d9a95a4 100644 --- a/internal/common/map.go +++ b/internal/common/map.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package common type ITable[K comparable, V any] interface { diff --git a/internal/common/regmap.go b/internal/common/regmap.go index cc6cf7544..a3afbef70 100644 --- a/internal/common/regmap.go +++ b/internal/common/regmap.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package common type RegMap[K comparable, V any] struct { diff --git a/internal/common/swisstable.go b/internal/common/swisstable.go index d0353e6fb..041e6f41f 100644 --- a/internal/common/swisstable.go +++ b/internal/common/swisstable.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package common import "github.com/cockroachdb/swiss" diff --git a/internal/dencoding/dencoding_benchmark_test.go b/internal/dencoding/dencoding_benchmark_test.go index 66787c403..df178e8ae 100644 --- a/internal/dencoding/dencoding_benchmark_test.go +++ b/internal/dencoding/dencoding_benchmark_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package dencoding_test import ( diff --git a/internal/dencoding/int.go b/internal/dencoding/int.go index 4fd1ccc93..abb4078f0 100644 --- a/internal/dencoding/int.go +++ b/internal/dencoding/int.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package dencoding import "sync" diff --git a/internal/dencoding/int_test.go b/internal/dencoding/int_test.go index 9d2663044..651b3c0d4 100644 --- a/internal/dencoding/int_test.go +++ b/internal/dencoding/int_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package dencoding_test import ( diff --git a/internal/errors/errors.go b/internal/errors/errors.go index 306b94d3c..3d5b28e0a 100644 --- a/internal/errors/errors.go +++ b/internal/errors/errors.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package errors import ( diff --git a/internal/errors/migrated_errors.go b/internal/errors/migrated_errors.go index ea81b0c4e..d456e1456 100644 --- a/internal/errors/migrated_errors.go +++ b/internal/errors/migrated_errors.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package errors import ( diff --git a/internal/eval/bitpos.go b/internal/eval/bitpos.go index 701a5ce74..b3f3c6510 100644 --- a/internal/eval/bitpos.go +++ b/internal/eval/bitpos.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/bloom_test.go b/internal/eval/bloom_test.go index d88d97f2f..a1c5887bc 100644 --- a/internal/eval/bloom_test.go +++ b/internal/eval/bloom_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/bloom_utils.go b/internal/eval/bloom_utils.go index ae297b70c..b53499fed 100644 --- a/internal/eval/bloom_utils.go +++ b/internal/eval/bloom_utils.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval // setBit sets the bit at index `b` to "1" in `buf`. diff --git a/internal/eval/bytearray.go b/internal/eval/bytearray.go index 4bf4f1f0a..b8923e864 100644 --- a/internal/eval/bytearray.go +++ b/internal/eval/bytearray.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/bytearray_test.go b/internal/eval/bytearray_test.go index efaa10f06..b70946c8f 100644 --- a/internal/eval/bytearray_test.go +++ b/internal/eval/bytearray_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/bytelist.go b/internal/eval/bytelist.go index a132a0cce..5c88933d0 100644 --- a/internal/eval/bytelist.go +++ b/internal/eval/bytelist.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/bytelist_test.go b/internal/eval/bytelist_test.go index 2d22d2ebd..e8f5c0408 100644 --- a/internal/eval/bytelist_test.go +++ b/internal/eval/bytelist_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/commands.go b/internal/eval/commands.go index 358279ade..25bb0b1de 100644 --- a/internal/eval/commands.go +++ b/internal/eval/commands.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/constants.go b/internal/eval/constants.go index a7d924b6a..5c9b1ab3c 100644 --- a/internal/eval/constants.go +++ b/internal/eval/constants.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval const ( diff --git a/internal/eval/countminsketch.go b/internal/eval/countminsketch.go index 80a564631..9d8128b05 100644 --- a/internal/eval/countminsketch.go +++ b/internal/eval/countminsketch.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/countminsketch_test.go b/internal/eval/countminsketch_test.go index 6c823f655..2a6b4640c 100644 --- a/internal/eval/countminsketch_test.go +++ b/internal/eval/countminsketch_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/deque.go b/internal/eval/deque.go index 2bf8c7d65..27ef1115c 100644 --- a/internal/eval/deque.go +++ b/internal/eval/deque.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/deque_test.go b/internal/eval/deque_test.go index 8788aacfe..91472cc5f 100644 --- a/internal/eval/deque_test.go +++ b/internal/eval/deque_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval_test import ( diff --git a/internal/eval/dump_restore.go b/internal/eval/dump_restore.go index 7049cdd2b..cbdf118a2 100644 --- a/internal/eval/dump_restore.go +++ b/internal/eval/dump_restore.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/eval.go b/internal/eval/eval.go index c571bd6a0..0caa2cb2a 100644 --- a/internal/eval/eval.go +++ b/internal/eval/eval.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/eval_test.go b/internal/eval/eval_test.go index 284f8431e..07c553736 100644 --- a/internal/eval/eval_test.go +++ b/internal/eval/eval_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/execute.go b/internal/eval/execute.go index 4824a67bb..1d1750ab0 100644 --- a/internal/eval/execute.go +++ b/internal/eval/execute.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/geo/geo.go b/internal/eval/geo/geo.go index 6db40eaf8..87e8a049b 100644 --- a/internal/eval/geo/geo.go +++ b/internal/eval/geo/geo.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package geo import ( diff --git a/internal/eval/hmap.go b/internal/eval/hmap.go index ccc507577..c4276d83d 100644 --- a/internal/eval/hmap.go +++ b/internal/eval/hmap.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/hmap_test.go b/internal/eval/hmap_test.go index 1e30be0a0..8c0a63d0e 100644 --- a/internal/eval/hmap_test.go +++ b/internal/eval/hmap_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/main_test.go b/internal/eval/main_test.go index bd6dac9c1..fac979abb 100644 --- a/internal/eval/main_test.go +++ b/internal/eval/main_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval_test import ( diff --git a/internal/eval/sortedset/sorted_set.go b/internal/eval/sortedset/sorted_set.go index 5b4435c3f..54dc857aa 100644 --- a/internal/eval/sortedset/sorted_set.go +++ b/internal/eval/sortedset/sorted_set.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package sortedset import ( diff --git a/internal/eval/store_eval.go b/internal/eval/store_eval.go index 8583cedad..b32627075 100644 --- a/internal/eval/store_eval.go +++ b/internal/eval/store_eval.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/type_asserts.go b/internal/eval/type_asserts.go index ef159ffba..8dc55f7f8 100644 --- a/internal/eval/type_asserts.go +++ b/internal/eval/type_asserts.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval // IsInt64 checks if the variable is of type int64. diff --git a/internal/eval/type_bloomfilter.go b/internal/eval/type_bloomfilter.go index a5a269f39..d255d05f1 100644 --- a/internal/eval/type_bloomfilter.go +++ b/internal/eval/type_bloomfilter.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/type_string.go b/internal/eval/type_string.go index 8ab3f9938..66a87c4c5 100644 --- a/internal/eval/type_string.go +++ b/internal/eval/type_string.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/eval/type_string_test.go b/internal/eval/type_string_test.go index 57230ff89..9fb723780 100644 --- a/internal/eval/type_string_test.go +++ b/internal/eval/type_string_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package eval import ( diff --git a/internal/id/id.go b/internal/id/id.go index 2837960b2..879b4a95b 100644 --- a/internal/id/id.go +++ b/internal/id/id.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package id import ( diff --git a/internal/id/id_test.go b/internal/id/id_test.go index 4b1cd3aa5..11e673a26 100644 --- a/internal/id/id_test.go +++ b/internal/id/id_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package id import ( diff --git a/internal/iomultiplexer/constants.go b/internal/iomultiplexer/constants.go index 308e39263..990116c13 100644 --- a/internal/iomultiplexer/constants.go +++ b/internal/iomultiplexer/constants.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package iomultiplexer const ( diff --git a/internal/iomultiplexer/epoll_linux.go b/internal/iomultiplexer/epoll_linux.go index 4db842979..a760d357b 100644 --- a/internal/iomultiplexer/epoll_linux.go +++ b/internal/iomultiplexer/epoll_linux.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package iomultiplexer import ( diff --git a/internal/iomultiplexer/errors.go b/internal/iomultiplexer/errors.go index 2cacdeb45..04e06e45f 100644 --- a/internal/iomultiplexer/errors.go +++ b/internal/iomultiplexer/errors.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package iomultiplexer import "errors" diff --git a/internal/iomultiplexer/interface.go b/internal/iomultiplexer/interface.go index 529ba587a..b69717776 100644 --- a/internal/iomultiplexer/interface.go +++ b/internal/iomultiplexer/interface.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package iomultiplexer import "time" diff --git a/internal/iomultiplexer/kqueue_darwin.go b/internal/iomultiplexer/kqueue_darwin.go index aa6939cb1..3373c6d89 100644 --- a/internal/iomultiplexer/kqueue_darwin.go +++ b/internal/iomultiplexer/kqueue_darwin.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package iomultiplexer import ( diff --git a/internal/iomultiplexer/types.go b/internal/iomultiplexer/types.go index 392ce76f0..1bc820136 100644 --- a/internal/iomultiplexer/types.go +++ b/internal/iomultiplexer/types.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package iomultiplexer // Event is a platform independent representation of a subscribe event diff --git a/internal/iomultiplexer/types_darwin.go b/internal/iomultiplexer/types_darwin.go index d9fe4ff4c..dc839cfa9 100644 --- a/internal/iomultiplexer/types_darwin.go +++ b/internal/iomultiplexer/types_darwin.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package iomultiplexer import ( diff --git a/internal/iomultiplexer/types_linux.go b/internal/iomultiplexer/types_linux.go index c34c7b5f1..7821dff73 100644 --- a/internal/iomultiplexer/types_linux.go +++ b/internal/iomultiplexer/types_linux.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package iomultiplexer import ( diff --git a/internal/iothread/cmd_compose.go b/internal/iothread/cmd_compose.go index 475269452..081871f47 100644 --- a/internal/iothread/cmd_compose.go +++ b/internal/iothread/cmd_compose.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package iothread import ( diff --git a/internal/iothread/cmd_custom.go b/internal/iothread/cmd_custom.go index 39dc32304..5dd568a92 100644 --- a/internal/iothread/cmd_custom.go +++ b/internal/iothread/cmd_custom.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package iothread import ( diff --git a/internal/iothread/cmd_decompose.go b/internal/iothread/cmd_decompose.go index d09196d88..0ba439aa3 100644 --- a/internal/iothread/cmd_decompose.go +++ b/internal/iothread/cmd_decompose.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package iothread import ( diff --git a/internal/iothread/cmd_meta.go b/internal/iothread/cmd_meta.go index c740bae25..a72e56fd9 100644 --- a/internal/iothread/cmd_meta.go +++ b/internal/iothread/cmd_meta.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package iothread import ( diff --git a/internal/iothread/cmd_preprocess.go b/internal/iothread/cmd_preprocess.go index 0bacdc8b5..b5116622f 100644 --- a/internal/iothread/cmd_preprocess.go +++ b/internal/iothread/cmd_preprocess.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package iothread import ( diff --git a/internal/iothread/iothread.go b/internal/iothread/iothread.go index 6aab5120f..5188ccdc6 100644 --- a/internal/iothread/iothread.go +++ b/internal/iothread/iothread.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package iothread import ( diff --git a/internal/iothread/manager.go b/internal/iothread/manager.go index 573117929..3cf95eaed 100644 --- a/internal/iothread/manager.go +++ b/internal/iothread/manager.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package iothread import ( diff --git a/internal/logger/logger.go b/internal/logger/logger.go index 7ba1eecc9..08e24941a 100644 --- a/internal/logger/logger.go +++ b/internal/logger/logger.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package logger import ( diff --git a/internal/logger/zerolog.go b/internal/logger/zerolog.go index 90d71864f..21d6e7f55 100644 --- a/internal/logger/zerolog.go +++ b/internal/logger/zerolog.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package logger import ( diff --git a/internal/object/deep_copy.go b/internal/object/deep_copy.go index 0e211be9f..6dcdec74a 100644 --- a/internal/object/deep_copy.go +++ b/internal/object/deep_copy.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package object import ( diff --git a/internal/object/object.go b/internal/object/object.go index 24c8527a5..43e6f8982 100644 --- a/internal/object/object.go +++ b/internal/object/object.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package object // Obj represents a basic object structure that includes metadata about the object diff --git a/internal/object/typeencoding.go b/internal/object/typeencoding.go index 8934fe710..4a75e3ceb 100644 --- a/internal/object/typeencoding.go +++ b/internal/object/typeencoding.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package object import ( diff --git a/internal/observability/constants.go b/internal/observability/constants.go index 78f59f962..d4860f109 100644 --- a/internal/observability/constants.go +++ b/internal/observability/constants.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package observability const linux = "linux" diff --git a/internal/observability/hardware.go b/internal/observability/hardware.go index 01042d244..406991f17 100644 --- a/internal/observability/hardware.go +++ b/internal/observability/hardware.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package observability import ( diff --git a/internal/observability/instance.go b/internal/observability/instance.go index 7b9eef941..6c83a3649 100644 --- a/internal/observability/instance.go +++ b/internal/observability/instance.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package observability import ( diff --git a/internal/observability/ping.go b/internal/observability/ping.go index 7ba4e3f69..84830909d 100644 --- a/internal/observability/ping.go +++ b/internal/observability/ping.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package observability import ( diff --git a/internal/ops/store_op.go b/internal/ops/store_op.go index b151066e9..376223a00 100644 --- a/internal/ops/store_op.go +++ b/internal/ops/store_op.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package ops import ( diff --git a/internal/querymanager/query_manager.go b/internal/querymanager/query_manager.go index 232a99622..e9fa64cee 100644 --- a/internal/querymanager/query_manager.go +++ b/internal/querymanager/query_manager.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package querymanager import ( diff --git a/internal/querymanager/watch_response.go b/internal/querymanager/watch_response.go index b28861235..13ad8fde4 100644 --- a/internal/querymanager/watch_response.go +++ b/internal/querymanager/watch_response.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package querymanager // CreatePushResponse creates a push response. Push responses refer to messages that the server sends to clients without diff --git a/internal/regex/regex.go b/internal/regex/regex.go index 5e2c8fb55..5f24e7179 100644 --- a/internal/regex/regex.go +++ b/internal/regex/regex.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package regex // WildCardMatch checks if the key matches the pattern using * and ? as wildcards using two pointer approach diff --git a/internal/regex/regex_test.go b/internal/regex/regex_test.go index 456cd39a3..5bd6075cf 100644 --- a/internal/regex/regex_test.go +++ b/internal/regex/regex_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package regex import ( diff --git a/internal/server/abstractserver/abstract_server.go b/internal/server/abstractserver/abstract_server.go index e2d9d91bb..678462737 100644 --- a/internal/server/abstractserver/abstract_server.go +++ b/internal/server/abstractserver/abstract_server.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package abstractserver import "context" diff --git a/internal/server/httpws/httpResp.go b/internal/server/httpws/httpResp.go index 10f77ee76..eda3bf275 100644 --- a/internal/server/httpws/httpResp.go +++ b/internal/server/httpws/httpResp.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package httpws const ( diff --git a/internal/server/httpws/httpServer.go b/internal/server/httpws/httpServer.go index f04c42aec..ab24bce51 100644 --- a/internal/server/httpws/httpServer.go +++ b/internal/server/httpws/httpServer.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package httpws import ( diff --git a/internal/server/httpws/redisCmdAdapter.go b/internal/server/httpws/redisCmdAdapter.go index 577a73e68..87286679e 100644 --- a/internal/server/httpws/redisCmdAdapter.go +++ b/internal/server/httpws/redisCmdAdapter.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package httpws import ( diff --git a/internal/server/httpws/redisCmdAdapter_test.go b/internal/server/httpws/redisCmdAdapter_test.go index 091b8bbc6..23207c468 100644 --- a/internal/server/httpws/redisCmdAdapter_test.go +++ b/internal/server/httpws/redisCmdAdapter_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package httpws import ( diff --git a/internal/server/httpws/websocketServer.go b/internal/server/httpws/websocketServer.go index bc090ff2b..89e8ed4a1 100644 --- a/internal/server/httpws/websocketServer.go +++ b/internal/server/httpws/websocketServer.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package httpws import ( diff --git a/internal/server/resp/server.go b/internal/server/resp/server.go index 51e205979..9a23184dc 100644 --- a/internal/server/resp/server.go +++ b/internal/server/resp/server.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package resp import ( diff --git a/internal/server/utils/array.go b/internal/server/utils/array.go index 1b2d83474..3126ba6ab 100644 --- a/internal/server/utils/array.go +++ b/internal/server/utils/array.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package utils import "reflect" diff --git a/internal/server/utils/bitfield.go b/internal/server/utils/bitfield.go index bf5f389fc..cc91ddf06 100644 --- a/internal/server/utils/bitfield.go +++ b/internal/server/utils/bitfield.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package utils import ( diff --git a/internal/server/utils/boolToInt.go b/internal/server/utils/boolToInt.go index f7cc55313..addf94bd9 100644 --- a/internal/server/utils/boolToInt.go +++ b/internal/server/utils/boolToInt.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package utils func BoolToInt(b bool) int { diff --git a/internal/server/utils/constants.go b/internal/server/utils/constants.go index 53a3137df..5a1f90903 100644 --- a/internal/server/utils/constants.go +++ b/internal/server/utils/constants.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package utils const ( diff --git a/internal/server/utils/floatToInt.go b/internal/server/utils/floatToInt.go index aa4560a25..17bc306c2 100644 --- a/internal/server/utils/floatToInt.go +++ b/internal/server/utils/floatToInt.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package utils func IsFloatToIntPossible(value float64) (int, bool) { diff --git a/internal/server/utils/json.go b/internal/server/utils/json.go index 454253f5f..539a9b1b1 100644 --- a/internal/server/utils/json.go +++ b/internal/server/utils/json.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package utils // This method returns the path, and a boolean value telling if the path provided follows Legacy Path Syntax or JSONPath syntax. diff --git a/internal/server/utils/jsontype.go b/internal/server/utils/jsontype.go index f7e9d05cb..bb6026d8c 100644 --- a/internal/server/utils/jsontype.go +++ b/internal/server/utils/jsontype.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package utils func GetJSONFieldType(v interface{}) string { diff --git a/internal/server/utils/jsontype_test.go b/internal/server/utils/jsontype_test.go index 768568fe7..1a305f91c 100644 --- a/internal/server/utils/jsontype_test.go +++ b/internal/server/utils/jsontype_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package utils import ( diff --git a/internal/server/utils/round.go b/internal/server/utils/round.go index 467c01eab..95806924d 100644 --- a/internal/server/utils/round.go +++ b/internal/server/utils/round.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package utils import "math" diff --git a/internal/server/utils/time.go b/internal/server/utils/time.go index 88fd2949f..7ed4a83dd 100644 --- a/internal/server/utils/time.go +++ b/internal/server/utils/time.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package utils import "time" diff --git a/internal/shard/shard_manager.go b/internal/shard/shard_manager.go index a3835b416..2ac77b798 100644 --- a/internal/shard/shard_manager.go +++ b/internal/shard/shard_manager.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package shard import ( diff --git a/internal/shard/shard_thread.go b/internal/shard/shard_thread.go index 313e3e4d5..3cdce0e5d 100644 --- a/internal/shard/shard_thread.go +++ b/internal/shard/shard_thread.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package shard import ( diff --git a/internal/sql/constants.go b/internal/sql/constants.go index 874f76076..422e6bcff 100644 --- a/internal/sql/constants.go +++ b/internal/sql/constants.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package sql const ( diff --git a/internal/sql/dsql.go b/internal/sql/dsql.go index 133ab3a41..0296810dc 100644 --- a/internal/sql/dsql.go +++ b/internal/sql/dsql.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package sql import ( diff --git a/internal/sql/dsql_test.go b/internal/sql/dsql_test.go index 0008c3fc5..5d8b98879 100644 --- a/internal/sql/dsql_test.go +++ b/internal/sql/dsql_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package sql import ( diff --git a/internal/sql/executerbechmark_test.go b/internal/sql/executerbechmark_test.go index 61b4b00c5..9f88b8775 100644 --- a/internal/sql/executerbechmark_test.go +++ b/internal/sql/executerbechmark_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package sql_test import ( diff --git a/internal/sql/executor.go b/internal/sql/executor.go index c85758d27..c538fce56 100644 --- a/internal/sql/executor.go +++ b/internal/sql/executor.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package sql import ( diff --git a/internal/sql/executor_test.go b/internal/sql/executor_test.go index 2dd52d798..e4af51528 100644 --- a/internal/sql/executor_test.go +++ b/internal/sql/executor_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package sql_test import ( diff --git a/internal/sql/fingerprint.go b/internal/sql/fingerprint.go index 5bcf5391a..6ee9150b0 100644 --- a/internal/sql/fingerprint.go +++ b/internal/sql/fingerprint.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package sql import ( diff --git a/internal/sql/fingerprint_test.go b/internal/sql/fingerprint_test.go index 7f3897fae..b094b003b 100644 --- a/internal/sql/fingerprint_test.go +++ b/internal/sql/fingerprint_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package sql import ( diff --git a/internal/store/aof.go b/internal/store/aof.go index 7b63f6c23..681dcb6f2 100644 --- a/internal/store/aof.go +++ b/internal/store/aof.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package store import ( diff --git a/internal/store/aof_test.go b/internal/store/aof_test.go index 7936de95a..92880eb38 100644 --- a/internal/store/aof_test.go +++ b/internal/store/aof_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package store import ( diff --git a/internal/store/batchevictionlru.go b/internal/store/batchevictionlru.go index 5380f9d20..4cfecda45 100644 --- a/internal/store/batchevictionlru.go +++ b/internal/store/batchevictionlru.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package store import ( diff --git a/internal/store/batchevictionlru_test.go b/internal/store/batchevictionlru_test.go index 3d2ed333e..655d00d6c 100644 --- a/internal/store/batchevictionlru_test.go +++ b/internal/store/batchevictionlru_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package store import ( diff --git a/internal/store/constants.go b/internal/store/constants.go index b48d9191a..1c2e8d95a 100644 --- a/internal/store/constants.go +++ b/internal/store/constants.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package store const ( diff --git a/internal/store/eviction.go b/internal/store/eviction.go index f68205182..a6d56cb27 100644 --- a/internal/store/eviction.go +++ b/internal/store/eviction.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package store import ( diff --git a/internal/store/expire.go b/internal/store/expire.go index 60181ee42..077591237 100644 --- a/internal/store/expire.go +++ b/internal/store/expire.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package store import ( diff --git a/internal/store/expire_test.go b/internal/store/expire_test.go index 91b371cf9..2d9bdbbb8 100644 --- a/internal/store/expire_test.go +++ b/internal/store/expire_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package store import ( diff --git a/internal/store/store.go b/internal/store/store.go index 6bb18aecb..f8b2726b6 100644 --- a/internal/store/store.go +++ b/internal/store/store.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package store import ( diff --git a/internal/store/store_options.go b/internal/store/store_options.go index f02b23282..3176ea3ce 100644 --- a/internal/store/store_options.go +++ b/internal/store/store_options.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package store type PutOptions struct { diff --git a/internal/wal/wal.go b/internal/wal/wal.go index ca251560e..4fdbfb93e 100644 --- a/internal/wal/wal.go +++ b/internal/wal/wal.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package wal import ( diff --git a/internal/wal/wal.pb.go b/internal/wal/wal.pb.go index 4d82bcec8..30757ce80 100644 --- a/internal/wal/wal.pb.go +++ b/internal/wal/wal.pb.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.35.2 diff --git a/internal/wal/wal.proto b/internal/wal/wal.proto index 87e88e72d..ef95c8585 100644 --- a/internal/wal/wal.proto +++ b/internal/wal/wal.proto @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; package wal; diff --git a/internal/wal/wal_aof.go b/internal/wal/wal_aof.go index fe0ca7c34..e338a793b 100644 --- a/internal/wal/wal_aof.go +++ b/internal/wal/wal_aof.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package wal import ( diff --git a/internal/wal/wal_null.go b/internal/wal/wal_null.go index c4a58ccc9..b0c9d3744 100644 --- a/internal/wal/wal_null.go +++ b/internal/wal/wal_null.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package wal import ( diff --git a/internal/wal/wal_sqlite.go b/internal/wal/wal_sqlite.go index 5805667d9..677019bd1 100644 --- a/internal/wal/wal_sqlite.go +++ b/internal/wal/wal_sqlite.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package wal import ( diff --git a/internal/wal/wal_test.go b/internal/wal/wal_test.go index b3ee707e3..528913de4 100644 --- a/internal/wal/wal_test.go +++ b/internal/wal/wal_test.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package wal_test import ( diff --git a/internal/watchmanager/watch_manager.go b/internal/watchmanager/watch_manager.go index 577f171c1..99eda75c9 100644 --- a/internal/watchmanager/watch_manager.go +++ b/internal/watchmanager/watch_manager.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package watchmanager import ( diff --git a/main.go b/main.go index 0eea883a5..9a21e18a1 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package main import ( diff --git a/mocks/slog_noop.go b/mocks/slog_noop.go index f8dae98b3..5866fe5de 100644 --- a/mocks/slog_noop.go +++ b/mocks/slog_noop.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package mocks import ( diff --git a/testutils/json.go b/testutils/json.go index 431933b8e..89fe75d88 100644 --- a/testutils/json.go +++ b/testutils/json.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package testutils import ( diff --git a/testutils/parsecommand.go b/testutils/parsecommand.go index c1a94f59e..2a6c4c8c4 100644 --- a/testutils/parsecommand.go +++ b/testutils/parsecommand.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package testutils import ( diff --git a/testutils/slices.go b/testutils/slices.go index efa284c03..acc9f4e0d 100644 --- a/testutils/slices.go +++ b/testutils/slices.go @@ -1,3 +1,19 @@ +// This file is part of DiceDB. +// Copyright (C) 2024 DiceDB (dicedb.io). +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package testutils // UnorderedEqual compares two slices of interfaces and returns true if they