Editar

Partilhar via


CommentTrackingCriteria interface

Comment tracking criteria is used to identify which iteration context the thread has been tracked to (if any) along with some detail about the original position and filename.

Properties

firstComparingIteration

The iteration of the file on the left side of the diff that the thread will be tracked to. Threads were tracked if this is greater than 0.

origFilePath

Original filepath the thread was created on before tracking. This will be different than the current thread filepath if the file in question was renamed in a later iteration.

origLeftFileEnd

Original position of last character of the thread's span in left file.

origLeftFileStart

Original position of first character of the thread's span in left file.

origRightFileEnd

Original position of last character of the thread's span in right file.

origRightFileStart

Original position of first character of the thread's span in right file.

secondComparingIteration

The iteration of the file on the right side of the diff that the thread will be tracked to. Threads were tracked if this is greater than 0.

Property Details

firstComparingIteration

The iteration of the file on the left side of the diff that the thread will be tracked to. Threads were tracked if this is greater than 0.

firstComparingIteration: number

Property Value

number

origFilePath

Original filepath the thread was created on before tracking. This will be different than the current thread filepath if the file in question was renamed in a later iteration.

origFilePath: string

Property Value

string

origLeftFileEnd

Original position of last character of the thread's span in left file.

origLeftFileEnd: CommentPosition

Property Value

origLeftFileStart

Original position of first character of the thread's span in left file.

origLeftFileStart: CommentPosition

Property Value

origRightFileEnd

Original position of last character of the thread's span in right file.

origRightFileEnd: CommentPosition

Property Value

origRightFileStart

Original position of first character of the thread's span in right file.

origRightFileStart: CommentPosition

Property Value

secondComparingIteration

The iteration of the file on the right side of the diff that the thread will be tracked to. Threads were tracked if this is greater than 0.

secondComparingIteration: number

Property Value

number