is_masked

Function is_masked 

Source
fn is_masked(path: impl AsRef<Path>) -> bool
Expand description

Checks whether a path is masked.

Paths are considered masked if:

  • they are a symlink to /dev/null
  • they are empty regular files.