journal

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReplaceWildcards added in v0.1.8

func ReplaceWildcards(filename string) string

ReplaceWildcards - convert wildcards in pathnames to their ASCII expansion

Types

type FileAction added in v0.0.4

type FileAction int
const (
	Add FileAction = iota
	Edit
	Delete
	Branch
	Integrate
	Rename // Special one
)

type FileType added in v0.0.4

type FileType int
const (
	UText   FileType = 0x00000001 // text+F
	CText   FileType = 0x00000003 // text+C
	UBinary FileType = 0x00000101 // binary+F
	Binary  FileType = 0x00000103 // binary
)

func (FileType) String added in v0.0.9

func (f FileType) String() string

type IntegHow added in v0.0.4

type IntegHow int
const (
	MergeFrom IntegHow = iota
	MergeInto
	BranchFrom
	BranchInto
	CopyFrom
	CopyInto
	Ignored
	IgnoredBy
	DeleteFrom
	DeleteInto
	DirtyBranchInto
	DirtyMergeInto
)

type Journal

type Journal struct {
	// contains filtered or unexported fields
}

func (*Journal) CreateJournal

func (j *Journal) CreateJournal(caseInsensitive bool)

func (*Journal) SetWriter

func (j *Journal) SetWriter(w io.Writer)

func (*Journal) WriteChange

func (j *Journal) WriteChange(chgNo int, user string, description string, chgTime int)

func (*Journal) WriteHeader

func (j *Journal) WriteHeader(depot string, caseInsensitive bool)

func (*Journal) WriteInteg added in v0.0.4

func (j *Journal) WriteInteg(toFile string, fromFile string, startFromRev int, endFromRev int, startToRev int, endToRev int,
	how IntegHow, reverseHow IntegHow, chgNo int)

func (*Journal) WriteRev

func (j *Journal) WriteRev(depotFile string, depotRev int, action FileAction, fileType FileType,
	chgNo int, lbrFile string, lbrRev int, chgTime int)

Jump to

Keyboard shortcuts

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