Module mockall::predicate::path

source ·
Expand description

Path Predicate factories

This module contains predicates specific to path handling.

Functions

  • Creates a new Predicate that ensures complete equality
  • Creates a new Predicate that ensures the path exists.
  • Creates a new Predicate that ensures the path points to a directory.
  • Creates a new Predicate that ensures the path points to a file.
  • Creates a new Predicate that ensures the path points to a symlink.
  • Creates a new Predicate that ensures the path doesn’t exist.