Expand description

Library of steps for handling files in the data dir.

The files step library is intended to help with standard operations which people might need when writing subplot scenarios which use embedded files.

Re-exports

pub use crate::prelude::*;
pub use super::datadir::Datadir;

Modules

Create a file on disk from an embedded file

Create a file on disk from an embedded file with a given name

Create a file with some given text as its content

Check if a file contains a given sequence of characters

Check for absence of a file

Check if a file lacks a given sequence of characters

Check for a file

Check if two files match

Check if a file’s content matches the given regular expression

Check that a given file’s metadata has changed since we remembered it

Check if a given file’s metadata matches our memory of it

Make a directory

Check if the given file is very old

Check if the given file has been modified “recently”

Check if a set of files are the only files in the datadir

Check that a directory does not exist

Check that a directory exists

Check that a directory exists and is empty

Check that a directory exists and is not empty

Examine the given file and remember its metadata for later

Remove a directory

Touch a given file

Touch a file to have a specific timestamp as its modified time

Structs

Context data for the files step library