def archive_repository(path, prefix, ref='master'):
    git = git_with_path(git_dir=path)

    # FIXME: why + '/' ?
    return git.archive(ref, prefix=prefix + '/')
Checks the sizes of the database level, increasing the size as needed.
dataset/ETHPy150Open douban/ellen/ellen/git/archive.py/archive_repository--crossover with--dataset/ETHPy150Open ricmoo/pycoind/pycoind/blockchain/transaction.py/Database.check_size