diff

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IncrementalPath

func IncrementalPath(receiver, sender []*FilesystemVersion) (
	incPath []*FilesystemVersion, conflict error,
)

func SortVersionListByCreateTXGThenBookmarkLTSnapshot

func SortVersionListByCreateTXGThenBookmarkLTSnapshot(fsvslice []*FilesystemVersion) []*FilesystemVersion

func StripBookmarksFromVersionList added in v0.7.4

func StripBookmarksFromVersionList(fsvslice []*FilesystemVersion,
) []*FilesystemVersion

Types

type ConflictDiverged

type ConflictDiverged struct {
	SortedSenderVersions, SortedReceiverVersions []*FilesystemVersion
	CommonAncestor                               *FilesystemVersion
	SenderOnly, ReceiverOnly                     []*FilesystemVersion
}

func (*ConflictDiverged) Error

func (c *ConflictDiverged) Error() string

type ConflictMostRecentSnapshotAlreadyPresent added in v0.7.4

type ConflictMostRecentSnapshotAlreadyPresent struct {
	SortedSenderVersions, SortedReceiverVersions []*FilesystemVersion
	CommonAncestor                               *FilesystemVersion
}

func (*ConflictMostRecentSnapshotAlreadyPresent) Error added in v0.7.4

type ConflictNoCommonAncestor

type ConflictNoCommonAncestor struct {
	SortedSenderVersions, SortedReceiverVersions []*FilesystemVersion
}

func (*ConflictNoCommonAncestor) Error

func (c *ConflictNoCommonAncestor) Error() string

type ConflictNoSenderSnapshots added in v0.7.4

type ConflictNoSenderSnapshots struct{}

func (*ConflictNoSenderSnapshots) Error added in v0.7.4

func (c *ConflictNoSenderSnapshots) Error() string

Jump to

Keyboard shortcuts

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