- directory-files dir #!optional (dot-files? #f)procedure
Return a list of filenames in directory dir. The special . and .. names are never returned. The directory dir is not prepended to each filename in the result list. That is,
(directory-files "/etc")
returns
("chown" "exports" "fstab" ...)not
("/etc/chown" "/etc/exports" "/etc/fstab" ...)To use the filenames in the returned list, the programmer can either manually prepend the directory, or change to the directory before using the filenames.
- dir
- path
- dot-files?
- whether filenames beginning with "." are returned