pub type GitBranchCollectSchemaSourceFn = fn(workspace_root: &Path, schema_ref: &SchemaRef) -> Result<Option<Vec<SchemaSourceFile>>, BackendError>;Expand description
Collect one pinned schema’s raw source files (manifest, sealed
format marker, type definitions) from the workspace’s
__MEMSTEAD:schemas/<name>@<version>/ ref — the tree memstead schema install writes on the git-branch backend. Ok(None) when
the workspace has no mem-repo, the ref, or the package. Read-only;
the consumer is the FOLDER-mount export path: a folder mem living
in a mem-repo workspace pins a schema the installer sealed on the
ref, so the archive assembler must read the same store the loader
resolves from, or the mem loads but cannot export.