Yes, directory-files was supposed to return the files, not directories. Symlinks make that hard. Ideally, there would be directory-files, subdirectories, and directory-symlinks.
But oh well, all that is not very portable. :-(
Yes, directory-files was supposed to return the files, not directories.
Symlinks make that hard.
Ideally, there would be directory-files, subdirectories, and directory-symlinks.
But oh well, all that is not very portable. :-(