Skip to main content

bind_direction

Function bind_direction 

Source
pub fn bind_direction(dir: &Path, want: Direction) -> Result<(), BridgeError>
Expand description

Stamp the direction, or verify it matches an existing stamp. Export → Fork upgrades are refused like any other mismatch (the map semantics differ); Import → Fork is the supported upgrade (fork = import + passthrough export over the same source).