From 0ca88baf56a6621524028bd821e35b82f17be460 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 1 Dec 2023 11:33:07 +0200 Subject: docs: add docs to share/rust/lib/datadir.yaml Signed-off-by: Lars Wirzenius Sponsored-by: author --- share/rust/lib/datadir.yaml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'share') diff --git a/share/rust/lib/datadir.yaml b/share/rust/lib/datadir.yaml index f4c313b..b77e5ef 100644 --- a/share/rust/lib/datadir.yaml +++ b/share/rust/lib/datadir.yaml @@ -9,9 +9,16 @@ function: subplotlib::steplibrary::datadir::datadir_has_enough_space types: bytes: uint + doc: | + Check the test data directory has at least the given amount of + free space expressed as bytes. + - given: datadir has at least {megabytes}M of space impl: rust: function: subplotlib::steplibrary::datadir::datadir_has_enough_space_megabytes types: megabytes: uint + doc: | + Check the test data directory has at least the given amount of + free space expressed as megabytes. -- cgit v1.2.1