コード例 #1
0
def get_patch_head(path):
    return int(utils.read_nearest_file('.PATCH_HEAD', path).strip())
コード例 #2
0
def get_patch_repo_path(path):
    """Return location of PR"""
    patch_repo_path = utils.read_nearest_file('.PATCH_REPO', path).strip()
    return patch_repo_path