JuliaIO / Tar.jl

TAR files: create, list, extract them in pure Julia
MIT License
80 stars 19 forks source link

[WIP] Add the `unsupported_file_type::Symbol` kwarg to the `Tar.create_tarball` function #137

Closed DilumAluthge closed 3 months ago

DilumAluthge commented 2 years ago

This pull request adds the unsupported_file_type::Symbol kwarg to the Tar.create_tarball function.

The possible values of unsupported_file_type are:

  1. :error (default)
  2. :warn
DilumAluthge commented 2 years ago

FYI, the motivation for the Options struct is that I was thinking we might add other similar options in the future, and it'll get real annoying to have to pass a lot of keyword arguments around everywhere, so I thought it would be easier to just pass around a single Options.

StefanKarpinski commented 2 years ago

The Options thing makes sense but should then probably include at least set_permissions and maybe some of the others.

DilumAluthge commented 3 months ago

Looks like this has gone pretty stale at this point.