/usr/include/Poco/Zip/Keep.h is in libpoco-dev 1.8.0.1-1ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | //
// Keep.h
//
// Library: Zip
// Package: Manipulation
// Module: Keep
//
// Definition of the Keep class.
//
// Copyright (c) 2007, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef Zip_Keep_INCLUDED
#define Zip_Keep_INCLUDED
#include "Poco/Zip/Zip.h"
#include "Poco/Zip/ZipOperation.h"
#include "Poco/Zip/ZipLocalFileHeader.h"
namespace Poco {
namespace Zip {
class Zip_API Keep: public ZipOperation
/// Keep simply forwards the compressed data stream from the input ZipArchive
/// to the output zip archive
{
public:
Keep(const ZipLocalFileHeader& hdr);
/// Creates the Keep object.
void execute(Compress& c, std::istream& input);
///Adds a copy of the compressed input file to the ZipArchive
private:
const ZipLocalFileHeader _hdr;
};
} } // namespace Poco::Zip
#endif // Zip_Keep_INCLUDED
|