getDirectoryContents without special directories "." and ".."

Alexander Berntsen alexander at plaimi.net
Sat Dec 13 20:31:23 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 13/12/14 21:24, Henning Thielemann wrote:
> In the 'unix' package this would be the right behaviour, but I
> think not in 'directory'.
«getDirectoryContents dir returns a list of all entries in dir.» There
is nothing about the name or documentation of the function that
implies it will leave out random files from its result.
- -- 
Alexander
alexander at plaimi.net
https://secure.plaimi.net/~alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlSMohsACgkQRtClrXBQc7W1IgD/UmTIl1BqfX/XWoRLK7sXLinr
n4/eHWNjsSz8QoOK3O8BAI98lhQOa+K/UDV36hBjEWc2/ydSWvjUVPSlKLcq6wI8
=U3fO
-----END PGP SIGNATURE-----


More information about the Libraries mailing list