Skip to content

Commit ac3fd5b

Browse files
author
Kazuki Suzuki Przyborowski
committed
Small update
1 parent 92475d1 commit ac3fd5b

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

pycatfile.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Copyright 2018-2024 Game Maker 2k - http://intdb.sourceforge.net/
1515
Copyright 2018-2024 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski
1616
17-
$FileInfo: pycatfile.py - Last Update: 9/12/2025 Ver. 0.20.4 RC 1 - Author: cooldude2k $
17+
$FileInfo: pycatfile.py - Last Update: 9/15/2025 Ver. 0.20.6 RC 1 - Author: cooldude2k $
1818
'''
1919

2020
from __future__ import absolute_import, division, print_function, unicode_literals, generators, with_statement, nested_scopes
@@ -391,8 +391,8 @@ def decode_unicode_escape(value):
391391
__file_format_dict__ = __file_format_multi_dict__[__file_format_default__]
392392
__project__ = __program_name__
393393
__project_url__ = "https://github.com/GameMaker2k/PyCatFile"
394-
__version_info__ = (0, 20, 4, "RC 1", 1)
395-
__version_date_info__ = (2025, 9, 12, "RC 1", 1)
394+
__version_info__ = (0, 20, 6, "RC 1", 1)
395+
__version_date_info__ = (2025, 9, 15, "RC 1", 1)
396396
__version_date__ = str(__version_date_info__[0]) + "." + str(
397397
__version_date_info__[1]).zfill(2) + "." + str(__version_date_info__[2]).zfill(2)
398398
__revision__ = __version_info__[3]
@@ -8610,15 +8610,15 @@ def UnPackCatFileString(instr, outdir=None, followlink=False, seekstart=0, seeke
86108610

86118611
def ftype_to_str(ftype):
86128612
mapping = {
8613-
0: "file",
8614-
1: "link",
8615-
2: "symlink",
8616-
3: "char device",
8617-
4: "block device",
8618-
5: "directory",
8619-
6: "fifo",
8620-
12: "sparse",
8621-
14: "device",
8613+
0: "file", # file
8614+
1: "link", # link
8615+
2: "sym", # symlink
8616+
3: "cdev", # char device
8617+
4: "bdev", # block device
8618+
5: "dir", # directory
8619+
6: "fifo", # fifo
8620+
12: "spar", # sparse
8621+
14: "dev", # generic device
86228622
}
86238623
# Default to "file" if unknown
86248624
return mapping.get(ftype, "file")

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "PyCatFile"
3-
version = "0.20.4"
3+
version = "0.20.6"
44
readme = "README.md"
55
license = { text = "BSD-3-Clause" }
66
keywords = []

0 commit comments

Comments
 (0)