rayvn/namespace
Detect namespace collisions across registered rayvn project libraries.
Functions
checkNamespaces()
Check for function and global variable name collisions across all (or specified) registered rayvn project libraries. Reports each collision with its sources and returns 1 if any found.
usage
checkNamespaces [PROJECT...]
[PROJECT...] | Registered project names to check. Defaults to all registered projects. |
notes
Globals detected: explicit declare -g* declarations (anywhere in the file). This is the rayvn convention for intentional globals. Implicit globals inside functions (missing local/declare) are caught by the lint implicit-global check.
init* functions are excluded: they are ephemeral init functions, not part of the namespace.