Skip to content

Commit

Permalink
Add TAR_XZ archiving type.
Browse files Browse the repository at this point in the history
Rearranging existing value indices slightly also.
  • Loading branch information
robertbartel committed Jul 5, 2024
1 parent e40b082 commit dcc8fa9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions python/lib/core/dmod/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ class DataArchiving(PydanticEnum):
""" Tar archiving with gzip compression. """
TAR_BZIP2 = (3, ".tar.bz2")
""" Tar archiving with bzip2 compression. """
ZIP_0 = (4, ".zip")
TAR_XZ = (4, ".tar.xz")
""" Tar archiving with bzip2 compression. """
ZIP_0 = (5, ".zip")
""" Zip archiving with level 0 compression (i.e., no compression at all). """
ZIP_9 = (5, ".zip")
""" Zip archiving with level 9 compression (i.e., maximum compression level). """
ZIP_6 = (6, ".zip")
""" Zip archiving with level 6 compression (i.e., standard compression level). """
ZIP_9 = (7, ".zip")
""" Zip archiving with level 9 compression (i.e., maximum compression level). """

@classmethod
def get_for_name(cls, name_str: str) -> DataArchiving:
Expand Down

0 comments on commit dcc8fa9

Please sign in to comment.