Module load

Module load 

Source
Expand description

Contains the functions to load Ledger file, with recursively resolving the include directives.

Structs§

FakeFileSystem
FileSystem with given set of filename and content mapping. It won’t cause any actual file read.
Loader
Loader is an object to keep loading a given file and may recusrively load them as repr::LedgerEntry, with the metadata about filename or line/column to point the error in a user friendly manner.
ProdFileSystem
FileSystem to regularly reads the files recursively in the local files.

Enums§

LoadError
Error caused by Loader::load.

Traits§

FileSystem
Interface to abstract file system. Normally you want to use ProdFileSystem.

Functions§

new_loader
Creates a new Loader instance with ProdFileSystem.