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

Henning Thielemann lemming at
Sat Dec 13 20:24:24 UTC 2014

On Sat, 13 Dec 2014, Alexander Berntsen wrote:

> On 13/12/14 20:49, Henning Thielemann wrote:

>> I even think that "." and ".." should not be part of the result at
>> all, but that's a different discussion.

> This would be horribly implicit and categorically The Wrong Thing. '.'
> and '..' are not magical convenience things put there by
> 'getDirectoryContents'. They are actual files.

In the 'unix' package this would be the right behaviour, but I think not 
in 'directory'.

More information about the Libraries mailing list