Get the hash display length based on settings. # Returns The number of characters to display for hashes.
(&self)
| 223 | /// |
| 224 | /// The number of characters to display for hashes. |
| 225 | pub(crate) fn get_hash_length(&self) -> usize { |
| 226 | if self.full_hash { |
| 227 | 52 // Full Base32 hash length |
| 228 | } else { |
| 229 | DEFAULT_HASH_LENGTH |
| 230 | } |
| 231 | } |
| 232 | |
| 233 | /// Format entries for default output. |
| 234 | /// |