A wire hash in the full base32 form the local listings print (`format_hash(hash, true)`).
(hash: &Option<pb::Hash>)
| 4318 | /// A wire hash in the full base32 form the local listings print |
| 4319 | /// (`format_hash(hash, true)`). |
| 4320 | fn short_hash_full(hash: &Option<pb::Hash>) -> String { |
| 4321 | hash.as_ref() |
| 4322 | .and_then(|h| h.value.clone().try_into().ok()) |
| 4323 | .map(|bytes: [u8; 32]| Merkle(bytes).to_base32()) |
| 4324 | .unwrap_or_else(|| "-".to_string()) |
| 4325 | } |
| 4326 | |
| 4327 | /// `atomic view split` over SplitView. Change specs and --last N resolve |
| 4328 | /// through the daemon's Log RPC; --switch composes SwitchView after. |