Method
update_trunk_state
(&mut self, id: TrunkId, state: TrunkState)
Source from the content-addressed store, hash-verified
| 100 | } |
| 101 | |
| 102 | fn update_trunk_state(&mut self, id: TrunkId, state: TrunkState) -> Result<(), Self::Error> { |
| 103 | if let Some(trunk) = self.trunks.get_mut(&id) { |
| 104 | trunk.set_state(state); |
| 105 | } |
| 106 | Ok(()) |
| 107 | } |
| 108 | |
| 109 | fn update_trunk_path(&mut self, id: TrunkId, new_path: &str) -> Result<(), Self::Error> { |
| 110 | if let Some(trunk) = self.trunks.get_mut(&id) { |
Callers
nothing calls this directly
Tested by
no test coverage detected