Tar
Operations and tasks for working with tar archives.
Nested types and modules
Module | Description |
BZip2 | Operations and tasks for working with tar archives compressed with BZip2. |
GZip | Operations and tasks for working with tar archives compressed with GZip. |
Functions and values
Function or value | Description |
addEntry outStream
Signature: outStream:TarOutputStream -> ArchiveFileSpec -> unit
|
![]() ![]() Adds a file, specified by an |
CompressDir flatten baseDir archiveFile
Signature: flatten:bool -> baseDir:DirectoryInfo -> archiveFile:FileInfo -> unit
|
![]() ![]() Creates a tar archive containing all the files in a directory. Parameters
|
CompressDirWithDefaults (...)
Signature: baseDir:DirectoryInfo -> archiveFile:FileInfo -> unit
|
![]() ![]() Creates a tar.gz archive containing all the files in a directory. Parameters
|
createFile file
Signature: file:FileInfo -> TarOutputStream
|
![]() ![]() Creates a Parameters
|
Extract extractDir archiveFile
Signature: extractDir:DirectoryInfo -> archiveFile:FileInfo -> unit
|
![]() ![]() Extracts a tar archive to a given directory. Parameters
|
extractStream inner
Signature: inner:Stream -> TarInputStream
|
![]() ![]() Wraps an input stream with a tar container extractor. |
store file items
Signature: file:FileInfo -> items:seq<ArchiveFileSpec> -> unit
|
![]() ![]() Constructs a function that will create a tar archive from a set of files. |
Store flatten baseDir archiveFile files
Signature: flatten:bool -> baseDir:DirectoryInfo -> archiveFile:FileInfo -> files:seq<FileInfo> -> unit
|
![]() ![]() Creates a tar archive with the given files. Parameters
|
StoreSpecs archiveFile fileSpecs
Signature: archiveFile:FileInfo -> fileSpecs:seq<ArchiveFileSpec> -> unit
|
![]() ![]() Creates a tar archive with the given archive file specifications. Parameters
|
storeStream inner
Signature: inner:Stream -> TarOutputStream
|
![]() ![]() Wraps an output stream with a tar container store. |
StoreWithDefaults (...)
Signature: baseDir:DirectoryInfo -> archiveFile:FileInfo -> files:seq<FileInfo> -> unit
|
![]() ![]() Creates a tar archive with the given files with default parameters. Parameters
|