Skip to content
/ NTar Public

A single file C# file to untar file entries from a tar stream.

License

Notifications You must be signed in to change notification settings

xoofx/NTar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NTar

A single file C# file to untar file entries from a tar stream.

Usage

Gets all files entries from a tar stream:

foreach (var entryStream in stream.Untar())
{
    // stream.FileName, stream.LastModifiedTime, stream.Length
}

Untar the stream to a specified output directory:

stream.UntarTo(".");

Usage

Copy the TarHelper.cs file directly into your project

The code is compatible with .NET 4.x+ and .NETCore

Limitations

NTar does not provide currently creation of a tar archive.

License

This software is released under the BSD-Clause 2 license.

Author

Alexandre Mutel aka xoofx.

About

A single file C# file to untar file entries from a tar stream.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages