##// END OF EJS Templates
util: refactor opener...
util: refactor opener - Don't call atomictempfile or nlinks() if the path is malformed (no basename). Let posixfile() raise IOError directly. - atomictempfile already breaks up hardlinks, no need to poke at the file with nlinks() if atomictemp. - No need to copy the file contents to break hardlinks for 'w'rite modes (w, wb, w+, w+b). Unlinking and recreating the file is faster.

File last commit:

r0:9117c656 default
r12927:b6245c24 default
Show More
__init__.py
0 lines | 0 B | text/x-python | PythonLexer