tape: improve code docs

This commit is contained in:
Dietmar Maurer
2021-01-21 13:19:07 +01:00
parent 1c86893d95
commit edda5039d4
7 changed files with 25 additions and 5 deletions

View File

@ -114,6 +114,7 @@ fn read_tape_mam<F: AsRawFd>(file: &mut F) -> Result<Vec<u8>, Error> {
.map(|v| v.to_vec())
}
/// Read Medium auxiliary memory attributes (cartridge memory) using raw SCSI command.
pub fn read_mam_attributes<F: AsRawFd>(file: &mut F) -> Result<Vec<MamAttribute>, Error> {
let data = read_tape_mam(file)?;