16246c8a9d84c875208a5e370da87888e799dd96,src/python/pants/pantsd/watchman.py,Watchman,__init__,#Watchman#Any#Any#Any#Any#Any#Any#Any#,31
Before Change
self._startup_timeout = startup_timeout
self._timeout = timeout
self._state_file = os.path.join(self._watchman_work_dir, "{}.state".format(self.name))
self._log_file = os.path.join(self._watchman_work_dir, "{}.log".format(self.name))
self._sock_file = socket_path_override or os.path.join(self._watchman_work_dir,
"{}.sock".format(self.name))
After Change
timeout=self._startup_timeout)
def _is_valid_executable(self, binary_path):
return os.path.isfile(binary_path) and os.access(binary_path, os .X_OK)
def _normalize_watchman_path(self, watchman_path):
if not self._is_valid_executable(watchman_path):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: pantsbuild/pants
Commit Name: 16246c8a9d84c875208a5e370da87888e799dd96
Time: 2017-11-08
Author: stuhood@twitter.com
File Name: src/python/pants/pantsd/watchman.py
Class Name: Watchman
Method Name: __init__
Project Name: lingpy/lingpy
Commit Name: 916c5ce3345c1e8aca35df47bc0838e1e3a9a2a0
Time: 2014-12-12
Author: xrotwang@googlemail.com
File Name: lingpy/meaning/basvoc.py
Class Name: BasVoc
Method Name: __init__
Project Name: LCAV/pyroomacoustics
Commit Name: d91872a2b95831dc9bcccc6dd37c73757554e57d
Time: 2018-02-28
Author: fakufaku@gmail.com
File Name: pyroomacoustics/datasets/cmu_arctic.py
Class Name: CMUArcticCorpus
Method Name: __init__