(
change: Hash,
inode: Position<Hash>,
baseline: Option<&str>,
path: &str,
)
| 2090 | } |
| 2091 | |
| 2092 | fn set( |
| 2093 | change: Hash, |
| 2094 | inode: Position<Hash>, |
| 2095 | baseline: Option<&str>, |
| 2096 | path: &str, |
| 2097 | ) -> DeferredTreeOp { |
| 2098 | DeferredTreeOp { |
| 2099 | change, |
| 2100 | inode, |
| 2101 | baseline_path: baseline.map(str::to_string), |
| 2102 | directory: Some(false), |
| 2103 | action: DeferredTreeAction::Set { |
| 2104 | path: path.to_string(), |
| 2105 | }, |
| 2106 | } |
| 2107 | } |
| 2108 | |
| 2109 | #[test] |
| 2110 | fn planner_handles_causal_rename_chains_and_view_visibility() { |
no outgoing calls