tape: add TapeDriver::move_to_last_file

This commit is contained in:
Dietmar Maurer
2021-03-23 13:34:58 +01:00
parent 30316192b3
commit 20cc25d749
3 changed files with 43 additions and 0 deletions

View File

@ -87,6 +87,9 @@ pub trait TapeDriver {
/// We assume this flushes the tape write buffer.
fn move_to_eom(&mut self) -> Result<(), Error>;
/// Move to last file
fn move_to_last_file(&mut self) -> Result<(), Error>;
/// Current file number
fn current_file_number(&mut self) -> Result<u64, Error>;