Determines if a pattern represents a file, a directory, or a glob pattern.
The pattern string to evaluate.
'file', 'directory', or 'glob'.
Determines if a pattern represents a file, a directory, or a glob pattern.