summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-12-01 11:33:07 +0200
committerLars Wirzenius <liw@liw.fi>2023-12-01 11:46:51 +0200
commit0ca88baf56a6621524028bd821e35b82f17be460 (patch)
tree94538c21ea4835a83dddbcf3e03b060c457d0ca0 /share
parent3a42c835b687320bc757a34d392e7a2301bea5d2 (diff)
downloadsubplot-0ca88baf56a6621524028bd821e35b82f17be460.tar.gz
docs: add docs to share/rust/lib/datadir.yaml
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
Diffstat (limited to 'share')
-rw-r--r--share/rust/lib/datadir.yaml7
1 files changed, 7 insertions, 0 deletions
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.