Function read_input_dir
Source pub fn read_input_dir(
input_dir: &str,
run_recursively: &bool,
) -> Result<Vec<(String, String)>, Error>
Expand description
Reads all markdown files from the specified input directory and returns their contents.
§Arguments
input_dir
- The directory containing markdown files.
§Returns
Returns a Result
containing a vector of tuples, where each tuple contains the file name
and its contents as a string.