Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

        def server_init(root_path):
    os.mkdir(path.join(root_path, 'objects'))
    os.mkdir(path.join(root_path, 'versions'))
    with open(path.join(root_path, 'versions', '0'), 'wb') as f:
        pass
        


src/m/a/MagicFolder-0.2/magicfolder/client.py   MagicFolder(Download)
    if args.subcmd == 'init':
        if args.server:
            from server import server_init
            server_init(root_path)
        else:

src/m/a/MagicFolder-HEAD/magicfolder/client.py   MagicFolder(Download)
    if args.subcmd == 'init':
        if args.server:
            from server import server_init
            server_init(root_path)
        else: