further steps to get rid of deprecated endOfFile and readLine

This commit is contained in:
Araq 2011-11-29 01:24:58 +01:00
commit e261a88d07
11 changed files with 35 additions and 21 deletions

View file

@ -414,7 +414,7 @@ proc isRootDir*(path: string): bool {.
var p = parentDir(path)
result = p == path or p.len == 0
iterator parentDirs*(path: string, fromRoot = false, inclusive = true): string =
iterator parentDirs*(path: string, fromRoot=false, inclusive=true): string =
## Walks over all parent directories of a given `path`
##
## If `fromRoot` is set, the traversal will start from the file system root