Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IncrementalPath ¶
func IncrementalPath(receiver, sender []*FilesystemVersion) (incPath []*FilesystemVersion, conflict error)
conflict may be a *ConflictDiverged or a *ConflictNoCommonAncestor
func SortVersionListByCreateTXGThenBookmarkLTSnapshot ¶
func SortVersionListByCreateTXGThenBookmarkLTSnapshot(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 ConflictNoCommonAncestor ¶
type ConflictNoCommonAncestor struct {
SortedSenderVersions, SortedReceiverVersions []*FilesystemVersion
}
func (*ConflictNoCommonAncestor) Error ¶
func (c *ConflictNoCommonAncestor) Error() string
Click to show internal directories.
Click to hide internal directories.