std-glob-dirs | ![]() |
std-glob-dirs returns a list of all matching directories specified by fspec, which might contain wildcards.
Globbing means expanding wildcards from a filename specifier to a list of matching files.
(std-glob-dirs "*L*")
=> all directories containing a "L" in the current directory.
(std-glob-dirs "C:/")
=> all sub directories of C:\
fspec: a filename specifier which might include wildcards.
A list of matching directory names, without path prefixes.
It might shell out to the operating system, if no native function can be used. (plain alisp, no fileext)
(std-require 'STDFILE)
Defined in STDFILE