From 631ef99e3f447212d65f75bc3ef9b1e5efd3ebe3 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 20 Nov 2025 01:29:21 +0100 Subject: [PATCH] chunkers.failing: fix docstring --- src/borg/chunkers/failing.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/borg/chunkers/failing.py b/src/borg/chunkers/failing.py index 3ff333bdf..856ff6dee 100644 --- a/src/borg/chunkers/failing.py +++ b/src/borg/chunkers/failing.py @@ -12,7 +12,9 @@ class ChunkerFailing: """ This is a very simple chunker for testing purposes. - Reads block_size chunks, starts failing at block , 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: