Data Source: oci_devops_repository_file_line

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

Retrieve lines of a specified file. Supports starting line number and limit. 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/lines”

Example Usage

data "oci_devops_repository_file_line" "test_repository_file_line" {
	#Required
	repository_id = oci_devops_repository.test_repository.id
	revision = var.repository_file_line_revision
	file_path = var.repository_file_line_file_path

	#Optional
	start_line_number = var.repository_file_line_start_line_number
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: