equal
deleted
inserted
replaced
162 guaranteed to work for files, not directories.""" |
162 guaranteed to work for files, not directories.""" |
163 st1 = os.lstat(fpath1) |
163 st1 = os.lstat(fpath1) |
164 st2 = os.lstat(fpath2) |
164 st2 = os.lstat(fpath2) |
165 return st1.st_dev == st2.st_dev |
165 return st1.st_dev == st2.st_dev |
166 |
166 |
|
167 encodinglower = None |
|
168 encodingupper = None |
|
169 |
167 # os.path.normcase is a no-op, which doesn't help us on non-native filesystems |
170 # os.path.normcase is a no-op, which doesn't help us on non-native filesystems |
168 def normcase(path): |
171 def normcase(path): |
169 return path.lower() |
172 return path.lower() |
170 |
173 |
171 if sys.platform == 'darwin': |
174 if sys.platform == 'darwin': |