Eclipse behavior for
Function DIRECTORY

Syntax:

Eclipse defines the following additional &KEY argument for the directory function:

links -- a symbol. The default is T.

if-does-not-exist -- one of :ERROR, :CREATE, or NIL. The default is :ERROR.

Description:

Links specifies whether file system symbolic links should be followed during resolution to truenames:

If-does-not-exist specifies the action to be taken if a directory component of the filespec being scanned does not exist in the file system:

See Also:

Eclipse Pathnames, and the Packages section of "Eclipse-Defined ANSI Features".

Notes:

The package of the links and if-does-not-exist &key designators is the KEYWORD package.

Note that, like all file system operations, the pathname argument to directory is merged with *default-pathname-defaults* and, if necessary, translated to a physical pathname. The default value for *default-pathname-defaults* has a version of :newest, and the default value for the default-version argument to merge-pathnames is :newest, so if the version is not specified in the pathname argument to directory, only the newest versions will be returned. Of course, all versions can be returned by explicitly providing a wild version component in the pathname argument to directory.


[Previous] [Next] [Up] [Documentation Contents] [Eclipse Home Page]