Compute hash for content change detection
(content: &[u8])
| 277 | if bytes.is_empty() { |
| 278 | return true; |
| 279 | } |
| 280 | |
| 281 | let sample_len = bytes.len().min(512); |
| 282 | let sample = &bytes[..sample_len]; |
| 283 | |
| 284 | if std::str::from_utf8(sample).is_ok() { |
| 285 | return true; |
| 286 | } |
nothing calls this directly
no outgoing calls
no test coverage detected