mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 23:15:26 +02:00
459 B
459 B
/sshd_config/analyzer
This folder analyzes the config file and returns errors, warnings, and suggestions.
The analyzer is usually done in three steps:
- Check if the overall structure is valid
- Create indexes and check if they were created successfully
- Do all other checks that require indexes
This is why there are three if statements to check for errors. If the first step fails, we can't create any indexes and thus show these errors already.