compute "attrs" field

This commit is contained in:
Igor Katson 2024-10-14 15:35:37 +01:00
parent ab173c00f6
commit 2e7c7216e3
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
3 changed files with 5 additions and 1 deletions

View file

@ -1149,6 +1149,7 @@ impl Session {
offset_in_torrent: fd.offset,
piece_range: fd.pieces,
len: fd.details.len,
attrs: fd.details.attrs(),
})
})
.collect::<anyhow::Result<Vec<FileInfo>>>()?;