comparison setup.py @ 19902:12a8bdd97b4f

context: use "vfs.lstat()" to examine target path instead of "os.path.*" This patch gets stat object of target path by "vfs.lstat()", and examines stat object to know the type of it. This follows the way in "workingctx.add()". This should be cheaper than original implementation invoking "lexists()", "isfile()" and "islink()".
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Tue, 15 Oct 2013 00:51:05 +0900
parents 2b2a2e858fb7
children 352abbb0be88
comparison
equal deleted inserted replaced
19901:4d3ce1646dfc 19902:12a8bdd97b4f