From 24e3b33e6666188364a2deeac9472b866777039f Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Wed, 1 May 2019 00:04:37 +0100 Subject: [PATCH] Add helper method to set internal image structures to expect being written a sequential block addressable tape. --- Interfaces/IWritableTapeImage.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Interfaces/IWritableTapeImage.cs b/Interfaces/IWritableTapeImage.cs index 743b316..b082638 100644 --- a/Interfaces/IWritableTapeImage.cs +++ b/Interfaces/IWritableTapeImage.cs @@ -56,5 +56,12 @@ namespace DiscImageChef.CommonTypes.Interfaces /// Tape partition descriptor /// true if successful, false otherwise bool AddPartition(TapePartition partition); + + /// + /// Tells the image plugin to set the internal structures to expect a tape (e.g. unknown block count and size). + /// Must be called before + /// + /// true if successful, false otherwise + bool SetTape(); } } \ No newline at end of file