""" extfslib is a library which contains Archive class to support writing extfs plugins for Midnight Commander. Tested against python 2.7 and mc 4.8.7 Changelog: 1.0 Initial release Author: Roman 'gryf' Dobosz Date: 2013-05-12 Version: 1.0 Licence: BSD """ import os import sys import re from subprocess import check_output, CalledProcessError class Archive(object): """Archive handle. Provides interface to MC's extfs subsystem""" LINE_PAT = re.compile("^(?P)\s" "(?P)\s" "(?P)\s" "(?P)\s" "(?P)\s+" "(?P