DiffSource

sealed class DiffSource

Source of the diff for a differential code scan.

Inheritors

Types

Link copied to clipboard
data class S3Uri(val value: String) : DiffSource

S3 URI pointing to a unified diff file. The file must be in standard unified diff format and stored in an S3 bucket connected to your Agent Space.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this DiffSource as a S3Uri and retrieves its kotlin.String value. Throws an exception if the DiffSource is not a S3Uri.

Link copied to clipboard

Casts this DiffSource as a S3Uri and retrieves its kotlin.String value. Returns null if the DiffSource is not a S3Uri.