예제 #1
0
 def f(x):
     p = self._join(x)
     if os.path.islink(p):
         return 'l'
     if util.is_exec(p):
         return 'x'
     return ''
예제 #2
0
파일: dirstate.py 프로젝트: helloandre/cr48
 def f(x):
     p = self._join(x)
     if os.path.islink(p):
         return 'l'
     if util.is_exec(p):
         return 'x'
     return ''
예제 #3
0
 def f(x):
     p = self._join(x)
     if os.path.islink(p):
         return "l"
     if util.is_exec(p):
         return "x"
     return ""
예제 #4
0
 def f(x):
     if 'l' in fallback(x):
         return 'l'
     if util.is_exec(self._join(x)):
         return 'x'
     return ''
예제 #5
0
파일: dirstate.py 프로젝트: helloandre/cr48
 def f(x):
     if 'l' in fallback(x):
         return 'l'
     if util.is_exec(self._join(x)):
         return 'x'
     return ''
예제 #6
0
 def f(x):
     if "l" in fallback(x):
         return "l"
     if util.is_exec(self._join(x)):
         return "x"
     return ""