View source code
Display the source code in std/file.d from which this page was generated on
github.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Page wiki
View or edit the community-maintained wiki page associated with this page.
Enum std.file.SpanMode
Dictates directory spanning policy for dirEntries
(see below).
The enum base type is
.
int
Enum members
Name | Description |
---|---|
breadth
|
Spans the directory breadth -first, i.e. the content of any
subdirectory is spanned right after that subdirectory itself.
|
depth
|
Spans the directory depth -first, i.e. the content of any
subdirectory is spanned before that subdirectory itself. Useful
e.g. when recursively deleting files.
|
shallow
|
Only spans one directory. |
Authors
Walter Bright, Andrei Alexandrescu, Jonathan M Davis