

@classmethod
def init(cls, path, work_path=None, bare=None):
    if (not os.path.exists(path)):
        os.makedirs(path)
    init_repository(path, work_path=work_path, bare=bare)
    return cls(path)

dataset/ETHPy150Open douban/ellen/ellen/repo.py Jagare.init/original