コード例 #1
0
ファイル: fsmonitor.py プロジェクト: assem-ch/git-cola
 def __init__(self, monitor):
     _BaseThread.__init__(self, monitor)
     self._worktree = self._transform_path(core.abspath(git.worktree()))
     self._worktree_watch = None
     self._git_dir = self._transform_path(core.abspath(git.git_dir()))
     self._git_dir_watch = None
     self._stop_event_lock = Lock()
     self._stop_event = None
コード例 #2
0
ファイル: fsmonitor.py プロジェクト: sbabrass/git-cola
 def __init__(self, monitor):
     _BaseThread.__init__(self, monitor)
     self._worktree = self._transform_path(core.abspath(git.worktree()))
     self._worktree_watch = None
     self._git_dir = self._transform_path(core.abspath(git.git_dir()))
     self._git_dir_watch = None
     self._stop_event_lock = Lock()
     self._stop_event = None
コード例 #3
0
ファイル: fsmonitor.py プロジェクト: assem-ch/git-cola
 def __init__(self, monitor):
     _BaseThread.__init__(self, monitor)
     self._worktree = core.abspath(git.worktree())
     self._git_dir = git.git_dir()
     self._lock = Lock()
     self._inotify_fd = None
     self._pipe_r = None
     self._pipe_w = None
     self._worktree_wds = set()
     self._worktree_wd_map = {}
     self._git_dir_wds = set()
     self._git_dir_wd_map = {}
コード例 #4
0
ファイル: fsmonitor.py プロジェクト: sbabrass/git-cola
 def __init__(self, monitor):
     _BaseThread.__init__(self, monitor)
     self._worktree = core.abspath(git.worktree())
     self._git_dir = git.git_dir()
     self._lock = Lock()
     self._inotify_fd = None
     self._pipe_r = None
     self._pipe_w = None
     self._worktree_wds = set()
     self._worktree_wd_map = {}
     self._git_dir_wds = set()
     self._git_dir_wd_map = {}
コード例 #5
0
ファイル: fsmonitor.py プロジェクト: 1234-/git-cola
 def __init__(self, monitor, refs_only):
     _BaseThread.__init__(self, monitor, refs_only)
     if refs_only:
         worktree = None
     else:
         worktree = git.worktree()
         if worktree is not None:
             worktree = self._transform_path(core.abspath(worktree))
     self._worktree = worktree
     self._worktree_watch = None
     self._git_dir = self._transform_path(core.abspath(git.git_path()))
     self._git_dir_watch = None
     self._stop_event_lock = Lock()
     self._stop_event = None
コード例 #6
0
ファイル: fsmonitor.py プロジェクト: ttimz1313/git-cola
 def __init__(self, monitor, refs_only):
     _BaseThread.__init__(self, monitor, refs_only)
     if refs_only:
         worktree = None
     else:
         worktree = git.worktree()
         if worktree is not None:
             worktree = self._transform_path(core.abspath(worktree))
     self._worktree = worktree
     self._worktree_watch = None
     self._git_dir = self._transform_path(core.abspath(git.git_path()))
     self._git_dir_watch = None
     self._stop_event_lock = Lock()
     self._stop_event = None
コード例 #7
0
ファイル: fsmonitor.py プロジェクト: 1234-/git-cola
 def __init__(self, monitor, refs_only):
     _BaseThread.__init__(self, monitor, refs_only)
     if refs_only:
         worktree = None
     else:
         worktree = git.worktree()
         if worktree is not None:
             worktree = core.abspath(worktree)
     self._worktree = worktree
     self._git_dir = git.git_path()
     self._lock = Lock()
     self._inotify_fd = None
     self._pipe_r = None
     self._pipe_w = None
     self._worktree_wds = set()
     self._worktree_wd_map = {}
     self._git_dir_wds = set()
     self._git_dir_wd_map = {}
     self._git_dir_wd = None
コード例 #8
0
ファイル: fsmonitor.py プロジェクト: ttimz1313/git-cola
 def __init__(self, monitor, refs_only):
     _BaseThread.__init__(self, monitor, refs_only)
     if refs_only:
         worktree = None
     else:
         worktree = git.worktree()
         if worktree is not None:
             worktree = core.abspath(worktree)
     self._worktree = worktree
     self._git_dir = git.git_path()
     self._lock = Lock()
     self._inotify_fd = None
     self._pipe_r = None
     self._pipe_w = None
     self._worktree_wds = set()
     self._worktree_wd_map = {}
     self._git_dir_wds = set()
     self._git_dir_wd_map = {}
     self._git_dir_wd = None