std-glob-dirs


Synopsis

(std-glob-dirs <fspec>)

Description

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.

Examples

(std-glob-dirs "*L*")
=> all directories containing a "L" in the current directory.

(std-glob-dirs "C:/")
=> all sub directories of C:\

Arguments

fspec: a filename specifier which might include wildcards.

Return Value

A list of matching directory names, without path prefixes.

Side Effects

It might shell out to the operating system, if no native function can be used. (plain alisp, no fileext)

Module

(std-require 'STDFILE)

Defined in STDFILE