Skip to content

Instantly share code, notes, and snippets.

View maxux's full-sized avatar
🔑

Maxime Daniel maxux

🔑
View GitHub Profile
import os
import re
class Entry:
"""
filepath|hash|filesize|uname|gname|permissions|filetype|ctime|mtime|extended
"""
def __init__(self, path, hash, size, filetype=2, uname='root', gname='root', permissions=0o644, ctime=None, mtime=None, extended=None):
self._data = {