Skip to main content

workspace

Function workspace 

Source
pub fn workspace(canonical_target: &Path, id: &str) -> Option<PathBuf>
Expand description

The workspace of migration id at a target, below the state root: <state root>/migrations/<repo key>/<id>/.

The repo key is the one the snapshots use, so one target’s saved copies and its migrations sit under one name.