Data Source: oci_devops_repository_diff

This data source provides details about a specific Repository Diff resource in Oracle Cloud Infrastructure Devops service.

Gets the line-by-line difference between file on different commits. This API will be deprecated on Wed, 29 Mar 2023 01:00:00 GMT as it does not get recognized when filePath has ‘/’. This will be replaced by “/repositories/{repositoryId}/file/diffs”

Example Usage

data "oci_devops_repository_diff" "test_repository_diff" {
	#Required
	base_version = var.repository_diff_base_version
	file_path = var.repository_diff_file_path
	repository_id = oci_devops_repository.test_repository.id
	target_version = var.repository_diff_target_version

	#Optional
	is_comparison_from_merge_base = var.repository_diff_is_comparison_from_merge_base
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: