class Minitar::Output

Wraps a Minitar::Writer with convenience methods and wrapped stream management. If the stream provided to Output does not support random access, only Writer#add_file_simple and Writer#mkdir are guaranteed to work.

=== Security Notice

Constructing a Minitar::Output will use Kernel.open if the provided output is not a readable stream object. Using an untrusted value for output may allow a malicious user to execute arbitrary system commands. It is the caller’s responsibility to ensure that the output value is safe.

This notice applies to Minitar::Output.open, Minitar::Output.tar, and Minitar::Output.new.