mirror of
https://github.com/chylex/Brotli-Builder.git
synced 2024-12-22 07:42:47 +01:00
17 lines
522 B
C#
17 lines
522 B
C#
using System.IO;
|
|
using BrotliCalc.Commands.Base;
|
|
using BrotliCalc.Helpers;
|
|
|
|
namespace BrotliCalc.Commands{
|
|
class CmdCopyUncompressed : CmdAbstractFileMapper.Uncompressed{
|
|
public override string FullName => "copy-uncompressed";
|
|
public override string ShortName => "cu";
|
|
|
|
protected override string WorkDesc => "Copied";
|
|
|
|
protected override void MapFile(BrotliFileGroup group, BrotliFile.Uncompressed file, FileStream output){
|
|
output.Write(file.Contents);
|
|
}
|
|
}
|
|
}
|