Methods

dirΒΆ

dir(dirname:Str, cb:Fun, subtype:Any=false)

List directory contents and call cb with Path() of each found item. Warning: "." and ".." are included.
Source: stdlib.ngs:2797

Returns

unspecified at this time, do not count on it

Example

's=Stats(); dir("tmp/v8", {s.push(A.typeof().name)}, true); s  # <Stats: {File=23, Dir=16}>'