Function: tramp-compat-directory-files
tramp-compat-directory-files is a for directory-files,
defined in dired.c.
Signature
(tramp-compat-directory-files DIRECTORY &optional FULL MATCH NOSORT COUNT)
Documentation
Return a list of names of files in DIRECTORY.
There are four optional arguments:
If FULL is non-nil, return absolute file names. Otherwise return names
that are relative to the specified directory.
If MATCH is non-nil, mention only file names whose non-directory part
matches the regexp MATCH.
If NOSORT is non-nil, the list is not sorted--its order is unpredictable.
Otherwise, the list returned is sorted with string-lessp.
NOSORT is useful if you plan to sort the result yourself.
If COUNT is non-nil and a natural number, the function will return
COUNT number of file names (if so many are present).