Skip to main content

shape_disclosure_in

Function shape_disclosure_in 

Source
pub fn shape_disclosure_in(
    shape: WorkspaceShape,
    mem_folder: Option<&str>,
) -> ShapeDisclosure
Expand description

The disclosure for a shape whose mem folder is mem_folder — a workspace-relative folder name when the mem does not own the workspace root (the guided quickstart --repo layout), None for the collapsed shape every other front door creates.

The parameter exists because the filesystem shape’s summary makes a claim about where the files are, and that claim is the reader’s first check: pointing them at “this folder” when their entities live one folder down would be untrue in exactly the receipt that has to be trusted.