Now
MAIN commitmail json YAML
pkgsrc/devel/py-scandir/DESCR@1.1
/
diff
pkgsrc/devel/py-scandir/Makefile@1.1 / diff
pkgsrc/devel/py-scandir/PLIST@1.1 / diff
pkgsrc/devel/py-scandir/distinfo@1.1 / diff
pkgsrc/devel/py-scandir/Makefile@1.1 / diff
pkgsrc/devel/py-scandir/PLIST@1.1 / diff
pkgsrc/devel/py-scandir/distinfo@1.1 / diff
Import py-scandir-1.5 as devel/py-scandir.
scandir() 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.
scandir() 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.