mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add helper method to set internal image structures to expect being written a sequential block addressable tape.
This commit is contained in:
@@ -56,5 +56,12 @@ namespace DiscImageChef.CommonTypes.Interfaces
|
|||||||
/// <param name="partition">Tape partition descriptor</param>
|
/// <param name="partition">Tape partition descriptor</param>
|
||||||
/// <returns><c>true</c> if successful, <c>false</c> otherwise</returns>
|
/// <returns><c>true</c> if successful, <c>false</c> otherwise</returns>
|
||||||
bool AddPartition(TapePartition partition);
|
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -45,5 +45,7 @@ namespace DiscImageChef.DiscImages
|
|||||||
public bool AddFile(TapeFile file) => throw new NotImplementedException();
|
public bool AddFile(TapeFile file) => throw new NotImplementedException();
|
||||||
|
|
||||||
public bool AddPartition(TapePartition partition) => throw new NotImplementedException();
|
public bool AddPartition(TapePartition partition) => throw new NotImplementedException();
|
||||||
|
|
||||||
|
public bool SetTape() => throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user