pub fn read_files<D: Decimal, F: FnMut(Entry<D>)>(
files: impl IntoIterator<Item = PathBuf>,
on_entry: F,
) -> Result<(), ReadFileError>๐Deprecated since 2.4.0: use
read_files_v2 or read_files_to_vec insteadExpand description
Read the files from disk and parse their content. Invokes on_entry for each entries found.
It follows the include directives found.
ยงErrors
Returns an error if any file could not be read (IO error) or if there is a beancount syntax error in any file read