arrays can now be printed
This commit is contained in:
parent
52ff244d5d
commit
1f7fc7f279
5 changed files with 81 additions and 25 deletions
|
|
@ -1010,7 +1010,7 @@ iterator walkDir*(dir: string; relative=false): tuple[kind: PathComponent, path:
|
|||
while true:
|
||||
var x = readdir(d)
|
||||
if x == nil: break
|
||||
var y = $x.d_name
|
||||
var y = newString(x.d_name)
|
||||
if y != "." and y != "..":
|
||||
var s: Stat
|
||||
if not relative:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue