REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 372 B
Close
//opt/cloudlinux/venv/lib/python3.11/site-packages/gitdb/utils/encoding.py
Text
Base64
def force_bytes(data, encoding="utf-8"): if isinstance(data, bytes): return data if isinstance(data, str): return data.encode(encoding) return data def force_text(data, encoding="utf-8"): if isinstance(data, str): return data if isinstance(data, bytes): return data.decode(encoding) return str(data, encoding)
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
__pycache__
DIR
-
drwxr-xr-x
2026-02-06 08:01:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
encoding.py
372 B
lrw-r--r--
2026-01-20 13:01:48
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
__init__.py
0 B
lrw-r--r--
2026-01-20 13:01:48
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).