mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-02-04 00:54:33 +00:00
Extract TOC generation from CloneCd into Aaru.Decoders #772
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mnadareski on GitHub (Jun 28, 2021).
Check and fill as appropriate:
Detailed Description
Currently, the code to generate a TOC is a private method within CloneCd. With this suggested change, that code would be moved a more common location that would be accessible by both other image formats and any programs that use the Aaru libraries.
Context
This was requested due to a pull request on RedBookPlayer, where that functionality had to be copied out from CloneCd: https://github.com/aaru-dps/RedBookPlayer/pull/12
This change would allow for less code duplication for these cases.
Known documentation
https://github.com/aaru-dps/Aaru/blob/master/Aaru.Images/CloneCD/Write.cs#L285