Skip to main content

write_entity

Function write_entity 

Source
pub fn write_entity(
    entity: &Entity,
    mem_dir: &Path,
    schema: &TypeDefinition,
) -> Result<PathBuf, WriteError>
Expand description

Write an entity to its file path under the mem directory. Creates parent directories as needed. Returns the absolute path where the file was written.