コード例 #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
ファイル: dirstate.py プロジェクト: fuzxxl/plan9front
 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
ファイル: dirstate.py プロジェクト: fuzxxl/plan9front
 def f(x):
     if "l" in fallback(x):
         return "l"
     if util.is_exec(self._join(x)):
         return "x"
     return ""