1 May 2005 22:29
filelib:wildcard/2
Mickael Remond <mickael.remond <at> erlang-fr.org>
2005-05-01 20:29:24 GMT
2005-05-01 20:29:24 GMT
Hello,
I have been trying to use filelib:wildcard/2 in Erlang/OTP R10B-3.
The documentation says:
wildcard(Wildcard, Cwd) -> list()
Types Wildcard = filename() | dirname()
Cwd = dirname()
The wildcard/2 function works like wildcard/1, except
that
instead of the actual working dirctory, Cwd will
be used.
However, this feature does not seem to be implemented:
filelib:wildcard("*", "/") always return the content of the current
directory.
I hope this helps,
--
--
Mickaël Rémond
RSS Feed