Next: , Previous: , Up: Filesystem Operations   [Contents][Index]


2.17.2 File Name Completion

Function: extensions:complete-file pathname &key :defaults :ignore-types

Attempt to complete a file name to the longest unambiguous prefix. If supplied, directory from :defaults is used as the “working directory” when doing completion. :ignore-types is a list of strings of the pathname types (a.k.a. extensions) that should be disregarded as possible matches (binary file names, etc.)

Function: extensions:ambiguous-files pathname &optional defaults

Return a list of pathnames for all the possible completions of pathname with respect to defaults.