예제 #1
0
 def f(x):
     p = self._join(x)
     if os.path.islink(p):
         return 'l'
     if util.isexec(p):
         return 'x'
     return ''
예제 #2
0
 def f(x):
     p = self._join(x)
     if os.path.islink(p):
         return 'l'
     if util.isexec(p):
         return 'x'
     return ''
예제 #3
0
 def f(x):
     if 'l' in fallback(x):
         return 'l'
     if util.isexec(self._join(x)):
         return 'x'
     return ''
예제 #4
0
파일: dirstate.py 프로젝트: CS76/ipo-galaxy
 def f(x):
     if 'l' in fallback(x):
         return 'l'
     if util.isexec(self._join(x)):
         return 'x'
     return ''