MCPcopy Create free account
hub / github.com/wal-e/wal-e / failed

Function failed

tests/test_wal_transfer.py:43–48  ·  view source on GitHub ↗

Returns true if a segment could be a failed upload. Or in progress, the two are not distinguished.

(seg)

Source from the content-addressed store, hash-verified

41
42
43def failed(seg):
44 """Returns true if a segment could be a failed upload.
45
46 Or in progress, the two are not distinguished.
47 """
48 return seg._marked is False and seg._uploaded is False
49
50
51def success(seg):

Callers 3

test_simple_failFunction · 0.85
test_multi_explicit_failFunction · 0.85
test_multi_pipeline_failFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected