| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |
Arguments: pathspec
This function tests whether pathspec exists and
is a directory, returning the result of applying truename to pathspec if it
is, and returning nil
if it does not exist or
is not a directory. pathspec should be a
pathname, a string naming a pathname, or a stream open to a file, that
is, the argument should be a standard Common Lisp pathname designator.
;; Assume a directory /tmp exists: (probe-directory "/tmp/") RETURNS #p"/tmp/" (probe-directory "/tmp/foo.cl") RETURNS nil ;; (whether or not /tmp/foo.cl exists)
See probe-file and pathnames.htm.
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |