pub fn get_supported_extensions() -> Vec<String>
Expand description
Get a list of all file extensions supported by the parser
This function returns a comprehensive list of all file extensions that the tree parser library can process. This is useful for filtering files or building file selection interfaces.
§Returns
A vector of strings containing all supported file extensions (without the leading dot).
§Examples
use tree_parser::get_supported_extensions;
let extensions = get_supported_extensions();
println!("Supported extensions: {:?}", extensions);
// Check if a specific extension is in the list
assert!(extensions.contains(&"py".to_string()));
assert!(extensions.contains(&"rs".to_string()));