Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/wal-e/wal-e
/ contains
Method
contains
wal_e/worker/prefetch.py:169–170 ·
view source on GitHub ↗
(self, segment)
Source
from the content-addressed store, hash-verified
167
raise
168
169
def
contains(self, segment):
170
return
path.isfile(path.join(self.prefetched_dir, segment.name))
171
172
def
is_running(self, segment):
173
return
path.isdir(self.seg_dir(segment))
Callers
5
wal_restore
Method · 0.95
start_prefetches
Function · 0.80
test_atomic_download
Function · 0.80
test_atomic_download_failure
Function · 0.80
test_cleanup_promoted
Function · 0.80
Calls
1
join
Method · 0.45
Tested by
3
test_atomic_download
Function · 0.64
test_atomic_download_failure
Function · 0.64
test_cleanup_promoted
Function · 0.64