test: Berichte client2antwort.1 bis .3 mit echtem Maya auf srv04, Maya-Adapter erledigt (M2.6b, #1037)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 08:11:36 +01:00
parent 07b1ad2d1f
commit c212db226e
6 changed files with 32 additions and 5 deletions

View File

@ -588,7 +588,8 @@ fn dir_size(dir: &Path, depth: usize) -> u64 {
};
entries
.flatten()
.map(|e| match e.metadata() {
// `fs::metadata` folgt Verweisen: Modellordner bestehen oft aus Links.
.map(|e| match std::fs::metadata(e.path()) {
Ok(m) if m.is_dir() => dir_size(&e.path(), depth + 1),
Ok(m) => m.len(),
Err(_) => 0,