Add helper method to set internal image structures to expect being written a sequential block addressable tape.

This commit is contained in:
2019-05-01 00:04:37 +01:00
parent cb6b476c27
commit 24e3b33e66

View File

@@ -56,5 +56,12 @@ namespace DiscImageChef.CommonTypes.Interfaces
/// <param name="partition">Tape partition descriptor</param>
/// <returns><c>true</c> if successful, <c>false</c> otherwise</returns>
bool AddPartition(TapePartition partition);
/// <summary>
/// Tells the image plugin to set the internal structures to expect a tape (e.g. unknown block count and size).
/// Must be called before <see cref="IWritableImage.Create"/>
/// </summary>
/// <returns><c>true</c> if successful, <c>false</c> otherwise</returns>
bool SetTape();
}
}