Skip to main content

Module expansion

Module expansion 

Source

Functions§

default_plugin_data_dir
Client-managed persistent data directory for one installed plugin instance.
expand_placeholders
Single-pass, non-recursive placeholder expansion.
is_reserved_env_key
Returns true for the two reserved env names that a plugin must not set. Such an entry makes the server configuration invalid (§9.2); the client supplies them last instead of overlaying.
resolve_cwd
Resolve an explicit or default cwd after placeholder expansion and enforce post-resolution containment.
validate_command_token
Validate a stdio command as a single executable token.
validate_cwd_form
Validate the syntactic form of an explicit cwd (§7.2.1).
validate_plugin_relative
Validate that a plugin-relative path stays inside the plugin root.