Expand description
§Environment Utility
Contains shared helper functions used by the MountainEnvironment provider
implementations for tasks like error mapping, path manipulation, and
security checks.
Functions§
- Detect
Language Identifier From File Path - A simple utility to detect a language identifier string from a file path’s extension.
- GetURL
FromURI ComponentsDTO - Helper to get a
Urlfrom aserde_json::Valuewhich is expected to be aUriComponentsDTO from VS Code. - IsPath
Allowed ForAccess - A critical security helper that checks if a given filesystem path is allowed for access.
- MapApplication
State Lock Error ToCommon Error - Maps a
PoisonErrorfrom a failedApplicationStateMutex lock into a structuredCommonError::StateLockPoisoned.