예제 #1
0
 def f(x):
     try:
         st = os.lstat(self._join(x))
         if util.statislink(st):
             return 'l'
         if util.statisexec(st):
             return 'x'
     except OSError:
         pass
     return ''
예제 #2
0
파일: dirstate.py 프로젝트: CS76/ipo-galaxy
 def f(x):
     try:
         st = os.lstat(self._join(x))
         if util.statislink(st):
             return 'l'
         if util.statisexec(st):
             return 'x'
     except OSError:
         pass
     return ''