is-dotfile

Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.

walk-back

Walk up the directory tree until the specified path is found.