SpanMode uses incorrect terminology (breadth)

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Sep 16 20:16:41 PDT 2012


On 9/16/12, Ben Davis <entheh at cantab.net> wrote:
> According to http://dlang.org/phobos/std_file.html :
>
> 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.
>
> breadth
> Spans the directory breadth-first, i.e. the content of any subdirectory
> is spanned right after that subdirectory itself.

I don't understand why "depth" is used in the first place. If you have
"shallow" then the opposite of that is "deep", not "depth". I always
make that typo when using spanmode.


More information about the Digitalmars-d mailing list