accurev

package module
v0.0.0-...-d0916f0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2016 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

go-accurev

A golang wrapper to the accurev cli

WORK IN PROGRESS!!

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ancestor_GetPreviousAncestorVersion_WithElementIDVersionAndPath

func Ancestor_GetPreviousAncestorVersion_WithElementIDVersionAndPath(depotName, elementVersion, elementPath string) string

func Cat_WithElementIDAndVersion

func Cat_WithElementIDAndVersion(depotName, elementID, elementVersion string) string

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 AnnotateLine struct {
	Number            int64  `xml:"number,attr"`
	Type              string `xml:"type,attr"`
	TransactionNumber int64  `xml:"trans,attr"`
	Content           string `xml:",innerxml"`
}

type AnnotateProcessesLine

type AnnotateProcessesLine struct {
	*AnnotateLine
	LatestTransaction *AnnotateTrans
}

type AnnotateTrans

type AnnotateTrans struct {
	Number        int64 `xml:"number,attr"`
	Time_Stamp    int64 `xml:"time,attr"`
	Time          time.Time
	PrincipalName string `xml:"principal_name,attr"`
	VersionName   string `xml:"version_name,attr"`
	Comment       string `xml:"comment"`
}

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"`
}

func Stat_WithElementIDAndStreamName

func Stat_WithElementIDAndStreamName(elementID, streamName string) *StatXml

type StreamXml

type StreamXml struct {
	Name string `xml:"name,attr"`
}

type TransactionVersion

type TransactionVersion struct {
	Eid                 string `xml:"eid,attr"`
	VirtualNamedVersion string `xml:"virtualNamedVersion,attr"`
	Path                string `xml:"path,attr"`
	Dir                 string `xml:"dir,attr"`
}

type TransactionXml

type TransactionXml struct {
	Versions []TransactionVersion `xml:"version"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址