Path to this page:
./
devel/py-scandir,
Better directory iterator and faster os.walk()
Branch: pkgsrc-2018Q2,
Version: 1.7,
Package name: py27-scandir-1.7,
Maintainer: pkgsrc-usersscandir() is a directory iteration function like os.listdir(),
except that instead of returning a list of bare filenames, it yields
DirEntry objects that include file type and stat information along
with the name. Using scandir() increases the speed of os.walk() by
2-20 times (depending on the platform and file system) by avoiding
unnecessary calls to os.stat() in most cases.
Required to run:[
devel/py-setuptools]
Master sites:
SHA1: 1d7e8e19fe754310bbc3c392b079c9d9133e1e95
RMD160: 7107748f76422f948eefea4a3239e2df0bee9d61
Filesize: 32.043 KB
Version history: (Expand)
- (2018-07-03) Package added to pkgsrc.se, version py27-scandir-1.7 (created)