Skip to content
Snippets Groups Projects
Commit 9da53ee5 authored by Alexander Turenko's avatar Alexander Turenko Committed by Igor Munkin
Browse files

lua: don't tweak package.loaded.compat

The module can't be pulled as `require('compat')`, because it is a
tarantool specific tuning mechanism, not a general compatibility module.
The API is exposed as `require('tarantool').compat`.

Before this patch the module was loaded as `package.loaded.compat`,
captured and then removed from `package.loaded`. However, it would be
easier to follow if we'll just assign an internal name for the module.

The module is renamed to `internal.compat`. The Lua/C part of the module
is renamed to `internal.compat.lib`.

Part of #7774

NO_DOC=user visible behavior is unchanged, pure refactoring change
NO_TEST=see NO_DOC
NO_CHANGELOG=see NO_DOC
parent c432e9e9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment