Skip to main content

should_skip_file

Function should_skip_file 

Source
pub fn should_skip_file(name: &str) -> bool
Expand description

true if a file with the given name should be excluded from the VFS scan and from hot-reload events. Catches OS scratch files (.DS_Store, .gitkeep, …) and editor swap / backup files (*.tmp, *.swp, *.bak, *~).