dired-insert-directory

dired-insert-directory is a compiled Lisp function in `dired.el'.

(dired-insert-directory DIR SWITCHES &optional FILE-LIST WILDCARD HDR)

Insert a directory listing of DIR, Dired style.
Use SWITCHES to make the listings.
If FILE-LIST is non-nil, list only those files.
Otherwise, if WILDCARD is non-nil, expand wildcards;
in that case, DIR should be a file name that uses wildcards.
In other cases, DIR should be a directory name or a directory filename.
If HDR is non-nil, insert a header line with the directory name.