Whether path is directory or lies below it, by whole components: /a/bc is not below /a/b. Every path is below /.
path
directory
/a/bc
/a/b
/
Whether
pathisdirectoryor lies below it, by whole components:/a/bcis not below/a/b. Every path is below/.