コード例 #1
0
ファイル: test_hashcache.py プロジェクト: c0ns0le/cygwin
 def __init__(self):
     # set root and cache file name to none to make sure we won't touch the
     # real filesystem
     HashCache.__init__(self, '.', 'hashcache')
     self._files = {}
     # simulated clock running forward as operations happen
     self._clock = 0
コード例 #2
0
 def __init__(self):
     # set root and cache file name to none to make sure we won't touch the
     # real filesystem
     HashCache.__init__(self, '.', 'hashcache')
     self._files = {}
     # simulated clock running forward as operations happen
     self._clock = 0
コード例 #3
0
ファイル: test_hashcache.py プロジェクト: c0ns0le/cygwin
 def reopen_hashcache(self):
     hc = HashCache('.', '.bzr/stat-cache')
     hc.read()
     return hc
コード例 #4
0
ファイル: test_hashcache.py プロジェクト: GymWenFLL/tpp_libs
 def reopen_hashcache(self):
     hc = HashCache(".", ".bzr/stat-cache")
     hc.read()
     return hc
コード例 #5
0
 def reopen_hashcache(self):
     hc = HashCache('.', '.bzr/stat-cache')
     hc.read()
     return hc
コード例 #6
0
 def make_hashcache(self):
     # make a dummy bzr directory just to hold the cache
     os.mkdir('.bzr')
     hc = HashCache('.', '.bzr/stat-cache')
     return hc