1730
1771
# depending on top and prefix - i.e. ./foo and foo as a pair leads to
1731
1772
# potentially confusing output. We should make this more robust - but
1732
1773
# not at a speed cost. RBC 20060731
1733
1775
_directory = _directory_kind
1734
1778
pending = [(safe_unicode(prefix), "", _directory, None, safe_unicode(top))]
1736
1780
# 0 - relpath, 1- basename, 2- kind, 3- stat, 4-toppath