Check If A File Exists In Rust
Code
use PathBuf;
Results
[_active_nvim_run:5:5] file_exists(&file_path) = true
The is the basic way to check if a file exists using `.try_exists()`rust` instead of `.exists()`rust`. The difference between the two is that `.try_exists()`rust` will produce an `Err`` for things like permissions issues or broken symbolic links.