is_empty_dir.md
December 13, 2020 ยท View on GitHub
is_empty_dir PATH
Succeeds if the specified directory is empty. Fails otherwise.
Fails also if the directory does not exist.
Example:
@ Checking if foo is mounted
- is not empty_dir /mnt/foo
December 13, 2020 ยท View on GitHub
Succeeds if the specified directory is empty. Fails otherwise.
Fails also if the directory does not exist.
Example:
@ Checking if foo is mounted
- is not empty_dir /mnt/foo