Skip to main content

load_mem_from_git_tree

Function load_mem_from_git_tree 

Source
pub fn load_mem_from_git_tree(
    repo: Repository,
    ref_name: &str,
    mem: &str,
    mem_schema: &Schema,
) -> Result<LoadResult, LoadError>
Expand description

Load all entities from a mem stored as a branch in a mem-repo-git repository.

Reads blobs from the git object database and feeds the result through memstead_base::entity::loader::parse_entries so the entity pipeline matches the directory- and archive-backed loaders byte for byte.