mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add writable image skeleton to dicformat.
This commit is contained in:
1
.idea/.idea.DiscImageChef/.idea/contentModel.xml
generated
1
.idea/.idea.DiscImageChef/.idea/contentModel.xml
generated
@@ -827,6 +827,7 @@
|
|||||||
<e p="Properties.cs" t="Include" />
|
<e p="Properties.cs" t="Include" />
|
||||||
<e p="Read.cs" t="Include" />
|
<e p="Read.cs" t="Include" />
|
||||||
<e p="Structs.cs" t="Include" />
|
<e p="Structs.cs" t="Include" />
|
||||||
|
<e p="Tape.cs" t="Include" />
|
||||||
<e p="Verify.cs" t="Include" />
|
<e p="Verify.cs" t="Include" />
|
||||||
<e p="Write.cs" t="Include" />
|
<e p="Write.cs" t="Include" />
|
||||||
</e>
|
</e>
|
||||||
|
|||||||
@@ -214,6 +214,7 @@
|
|||||||
<Compile Include="DiscImageChef\Properties.cs" />
|
<Compile Include="DiscImageChef\Properties.cs" />
|
||||||
<Compile Include="DiscImageChef\Read.cs" />
|
<Compile Include="DiscImageChef\Read.cs" />
|
||||||
<Compile Include="DiscImageChef\Structs.cs" />
|
<Compile Include="DiscImageChef\Structs.cs" />
|
||||||
|
<Compile Include="DiscImageChef\Tape.cs" />
|
||||||
<Compile Include="DiscImageChef\Verify.cs" />
|
<Compile Include="DiscImageChef\Verify.cs" />
|
||||||
<Compile Include="DiscImageChef\Write.cs" />
|
<Compile Include="DiscImageChef\Write.cs" />
|
||||||
<Compile Include="DiscJuggler\Helpers.cs" />
|
<Compile Include="DiscJuggler\Helpers.cs" />
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ using SharpCompress.Compressors.LZMA;
|
|||||||
|
|
||||||
namespace DiscImageChef.DiscImages
|
namespace DiscImageChef.DiscImages
|
||||||
{
|
{
|
||||||
public partial class DiscImageChef : IWritableOpticalImage, IVerifiableImage
|
public partial class DiscImageChef : IWritableOpticalImage, IVerifiableImage, IWritableTapeImage
|
||||||
{
|
{
|
||||||
bool alreadyWrittenZero;
|
bool alreadyWrittenZero;
|
||||||
/// <summary>Cache of uncompressed blocks.</summary>
|
/// <summary>Cache of uncompressed blocks.</summary>
|
||||||
|
|||||||
49
DiscImageChef.DiscImages/DiscImageChef/Tape.cs
Normal file
49
DiscImageChef.DiscImages/DiscImageChef/Tape.cs
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
// /***************************************************************************
|
||||||
|
// The Disc Image Chef
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
//
|
||||||
|
// Filename : Tape.cs
|
||||||
|
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
||||||
|
//
|
||||||
|
// Component : Disk image plugins.
|
||||||
|
//
|
||||||
|
// --[ Description ] ----------------------------------------------------------
|
||||||
|
//
|
||||||
|
// Manages DiscImageChef format tape images.
|
||||||
|
//
|
||||||
|
// --[ License ] --------------------------------------------------------------
|
||||||
|
//
|
||||||
|
// This library is free software; you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Lesser General Public License as
|
||||||
|
// published by the Free Software Foundation; either version 2.1 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This library is distributed in the hope that it will be useful, but
|
||||||
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
// Lesser General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
|
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
//
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
// Copyright © 2011-2019 Natalia Portillo
|
||||||
|
// ****************************************************************************/
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using DiscImageChef.CommonTypes.Interfaces;
|
||||||
|
using DiscImageChef.CommonTypes.Structs;
|
||||||
|
|
||||||
|
namespace DiscImageChef.DiscImages
|
||||||
|
{
|
||||||
|
public partial class DiscImageChef
|
||||||
|
{
|
||||||
|
public List<TapeFile> Files { get; }
|
||||||
|
List<TapePartition> ITapeImage.Partitions { get; }
|
||||||
|
|
||||||
|
public bool AddFile(TapeFile file) => throw new NotImplementedException();
|
||||||
|
|
||||||
|
public bool AddPartition(TapePartition partition) => throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user