# Plugin:   core
# Date:     20th December 2014
# Author:   James Mills, prologic at shortcircuit dot net dot au


"""Core Plugin"""


__version__ = "0.0.1"
__author__ = "James Mills, prologic at shortcircuit dot net dot au"


from os import getcwd
from uuid import uuid4 as uuid
from tempfile import NamedTemporaryFile


from pathlib import Path

from circuits.io import File
from circuits import handler, task
from circuits.net.events import close, write


from ..plugin import BasePlugin
from ..gophertypes import get_type
from ..utils import execute, exists, iterdir, resolvepath, which
from ..utils import is_dir, is_file, is_world_executable, is_world_readable


IGNORE_PATTERNS = ["CSV", "gophermap", "*.bak", "*~", ".*"]


class CorePlugin(BasePlugin):
    """Core Plugin"""