mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-11 09:59:19 -04:00
chunkers.failing: fix docstring
This commit is contained in:
parent
bb38a63596
commit
631ef99e3f
1 changed files with 3 additions and 1 deletions
|
|
@ -12,7 +12,9 @@ class ChunkerFailing:
|
|||
"""
|
||||
This is a very simple chunker for testing purposes.
|
||||
|
||||
Reads block_size chunks, starts failing at block <fail_start>, <fail_count> failures, then succeeds.
|
||||
Reads block_size chunks. The map parameter controls behavior per block:
|
||||
'R' = successful read, 'E' = I/O Error. Blocks beyond the map length
|
||||
will have the same behavior as the last map character.
|
||||
"""
|
||||
|
||||
def __init__(self, block_size: int, map: str) -> None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue