Mercurial > public > mercurial-scm > hg-stable
diff mercurial/windows.py @ 18868:cafa447a7d3b
util: add functions to check symlink/exec bits
These are not yet used.
author | Bryan O'Sullivan <bryano@fb.com> |
---|---|
date | Wed, 03 Apr 2013 11:35:27 -0700 |
parents | 242d2f4ec01c |
children | a6014018ec28 |
line wrap: on
line diff
--- a/mercurial/windows.py Wed Apr 03 13:03:50 2013 -0500 +++ b/mercurial/windows.py Wed Apr 03 11:35:27 2013 -0700 @@ -337,3 +337,11 @@ pass expandglobs = True + +def statislink(st): + '''check whether a stat result is a symlink''' + return False + +def statisexec(st): + '''check whether a stat result is an executable file''' + return False