f77268932385c83f066c01053fdb85debc3527b1,polyaxon/libs/repos/git/external.py,,set_git_repo,#Any#,16

Before Change



    // Check that the project has a dir
    repo_path = "{}/{}".format(mount_path, repo_name)
    if not os.path.isdir(repo_path):
        create_path(repo_path)

    // Create a new repo
    get_git_repo(repo_path=repo_path, init=True)

After Change


    ensure_repo_paths(repo=repo)

    // Create a new repo
    try:
        clone_git_repo(repo_path=repo.path, git_url=repo.git_clone_url)
    except Exception as e:
        raise GitCloneException(e)
    return repo.path


def get_private_clone_url(git_url: str) -> str:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 6

Instances


Project Name: polyaxon/polyaxon
Commit Name: f77268932385c83f066c01053fdb85debc3527b1
Time: 2019-02-06
Author: mouradmourafiq@gmail.com
File Name: polyaxon/libs/repos/git/external.py
Class Name:
Method Name: set_git_repo


Project Name: sony/nnabla
Commit Name: 30a9d6399117fe73c7a6286a1a6391a33c02cb1d
Time: 2018-06-06
Author: Yukio.Oobuchi@sony.com
File Name: python/src/nnabla/monitor.py
Class Name: Monitor
Method Name: __init__


Project Name: tensorflow/tensorboard
Commit Name: 0a3547d8479b66499fb0cb9107273c4f081407f5
Time: 2019-03-01
Author: nfelt@users.noreply.github.com
File Name: tensorboard/backend/event_processing/plugin_asset_util.py
Class Name:
Method Name: ListAssets


Project Name: tensorflow/tensorboard
Commit Name: 0a3547d8479b66499fb0cb9107273c4f081407f5
Time: 2019-03-01
Author: nfelt@users.noreply.github.com
File Name: tensorboard/backend/event_processing/plugin_asset_util.py
Class Name:
Method Name: ListPlugins


Project Name: sony/nnabla
Commit Name: 30a9d6399117fe73c7a6286a1a6391a33c02cb1d
Time: 2018-06-06
Author: Yukio.Oobuchi@sony.com
File Name: python/src/nnabla/monitor.py
Class Name: MonitorImage
Method Name: __init__


Project Name: sony/nnabla
Commit Name: 30a9d6399117fe73c7a6286a1a6391a33c02cb1d
Time: 2018-06-06
Author: Yukio.Oobuchi@sony.com
File Name: python/src/nnabla/utils/data_source_loader.py
Class Name:
Method Name: get_data_home