|
14 | 14 | Copyright 2018-2024 Game Maker 2k - http://intdb.sourceforge.net/ |
15 | 15 | Copyright 2018-2024 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski |
16 | 16 |
|
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 $ |
18 | 18 | ''' |
19 | 19 |
|
20 | 20 | from __future__ import absolute_import, division, print_function, unicode_literals, generators, with_statement, nested_scopes |
@@ -391,8 +391,8 @@ def decode_unicode_escape(value): |
391 | 391 | __file_format_dict__ = __file_format_multi_dict__[__file_format_default__] |
392 | 392 | __project__ = __program_name__ |
393 | 393 | __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) |
396 | 396 | __version_date__ = str(__version_date_info__[0]) + "." + str( |
397 | 397 | __version_date_info__[1]).zfill(2) + "." + str(__version_date_info__[2]).zfill(2) |
398 | 398 | __revision__ = __version_info__[3] |
@@ -8610,15 +8610,15 @@ def UnPackCatFileString(instr, outdir=None, followlink=False, seekstart=0, seeke |
8610 | 8610 |
|
8611 | 8611 | def ftype_to_str(ftype): |
8612 | 8612 | 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 |
8622 | 8622 | } |
8623 | 8623 | # Default to "file" if unknown |
8624 | 8624 | return mapping.get(ftype, "file") |
|
0 commit comments