Documentation
¶
Index ¶
- func Ancestor_GetPreviousAncestorVersion_WithElementIDVersionAndPath(depotName, elementVersion, elementPath string) string
- func Cat_WithElementIDAndVersion(depotName, elementID, elementVersion string) string
- func History_WithTransactionNumber(depotName, transactionNumber string) (*TransactionXml, *StreamXml)
- type AncestorXml
- type AnnotateDiff
- type AnnotateLine
- type AnnotateProcessesLine
- type AnnotateTrans
- type AnnotateXml
- type CpkDescribeElement
- type CpkDescribeIssue
- type CpkDescribeXml
- type ElementDiff
- type StatElement
- type StatXml
- type StreamXml
- type TransactionVersion
- type TransactionXml
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func History_WithTransactionNumber ¶
func History_WithTransactionNumber(depotName, transactionNumber string) (*TransactionXml, *StreamXml)
Types ¶
type AncestorXml ¶
type AncestorXml struct { Element struct { VirtualVersion string `xml:"VirtualVersion,attr"` } `xml:"element"` }
type AnnotateDiff ¶
type AnnotateDiff struct { Trans *AnnotateTrans `xml:"trans"` Lines []*AnnotateLine `xml:"line"` }
type AnnotateLine ¶
type AnnotateProcessesLine ¶
type AnnotateProcessesLine struct { *AnnotateLine LatestTransaction *AnnotateTrans }
type AnnotateTrans ¶
type AnnotateXml ¶
type AnnotateXml struct { Diffs []*AnnotateDiff `xml:"annotate>diff"` FinalLines []*AnnotateLine `xml:"annotate>final>line"` ProcessesLines []*AnnotateProcessesLine }
func Annotate ¶
func Annotate(elementLocation, elementVersionSpec string) *AnnotateXml
type CpkDescribeElement ¶
type CpkDescribeElement struct { Id string `xml:"id,attr"` RealVersion string `xml:"real_version,attr"` BasisVersion string `xml:"basis_version,attr"` RealNamedVersion string `xml:"realNamedVersion,attr"` BasisNamedVersion string `xml:"basisNamedVersion,attr"` Location string `xml:"location,attr"` Dir string `xml:"dir,attr"` ElemType string `xml:"elemType,attr"` }
type CpkDescribeIssue ¶
type CpkDescribeIssue struct { IssueNum string `xml:"issueNum,innerXml"` Elements []*CpkDescribeElement `xml:"elements>element"` }
type CpkDescribeXml ¶
type CpkDescribeXml struct {
Issues []*CpkDescribeIssue `xml:"issues>issue"`
}
func CpkDescribe_WithIssueNumber ¶
func CpkDescribe_WithIssueNumber(depotName, issueNumber string) *CpkDescribeXml
type ElementDiff ¶
type ElementDiff struct {
// contains filtered or unexported fields
}
func GetElementDiffBetweenVersions ¶
func GetElementDiffBetweenVersions(depotName, elementId, oldVersion, newVersion string) *ElementDiff
func (*ElementDiff) ToHTML ¶
func (e *ElementDiff) ToHTML() string
func (*ElementDiff) ToHTML_HideInsignificantLines ¶
func (e *ElementDiff) ToHTML_HideInsignificantLines(contextLinesAbove, contextLinesBelow int) string
func (*ElementDiff) TotalLineCount ¶
func (e *ElementDiff) TotalLineCount() int
func (*ElementDiff) TotalLinesAddedCount ¶
func (e *ElementDiff) TotalLinesAddedCount() int
func (*ElementDiff) TotalLinesDeletedCount ¶
func (e *ElementDiff) TotalLinesDeletedCount() int
type StatElement ¶
type StatElement struct {
Location string `xml:"location,attr"`
}
type StatXml ¶
type StatXml struct {
Element *StatElement `xml:"element"`
}
type TransactionVersion ¶
type TransactionXml ¶
type TransactionXml struct {
Versions []TransactionVersion `xml:"version"`
}
Click to show internal directories.
Click to hide internal directories.