from pathlib import Path


def __base_cond(path: Path):
    """
    Base condition for all link operations.
    :param path: the base file/dir path
    :return: True if the base file/dir name passed the base condition check
    """
    return path.name.lower() not in (
        '.git', '.gitignore', '.gitkeep', '.directory', '.gitmodules',
        '.github', '.travis.yml'
    )