C# Class ZeroInstall.Store.Implementations.Archives.TarGenerator

Creates a TAR archive from a directory. Preserves execuable bits, symlinks, hardlinks and timestamps.
Inheritance: ArchiveGenerator
Show file Open project: 0install/0install-win

Protected Methods

Method Description
Dispose ( bool disposing ) : void
HandleDirectory ( DirectoryInfo directory ) : void
HandleFile ( FileInfo file, bool executable = false ) : void
HandleSymlink ( FileSystemInfo symlink, byte data ) : void

Private Methods

Method Description
TarGenerator ( [ sourceDirectory, [ stream ) : System

Prepares to generate a TAR archive from a directory.

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

HandleDirectory() protected method

protected HandleDirectory ( DirectoryInfo directory ) : void
directory System.IO.DirectoryInfo
return void

HandleFile() protected method

protected HandleFile ( FileInfo file, bool executable = false ) : void
file System.IO.FileInfo
executable bool
return void

HandleSymlink() protected method

protected HandleSymlink ( FileSystemInfo symlink, byte data ) : void
symlink System.IO.FileSystemInfo
data byte
return void