Skip to main content

compute_file_path

Function compute_file_path 

Source
pub fn compute_file_path(
    store: &Store,
    id: &EntityId,
    hierarchy_rel: &str,
) -> String
Expand description

Compute file path for an entity based on its PART_OF ancestry. Path is: grandparent/parent/entity-name.md (reversed ancestor chain).