Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImportAnalysis ¶
type ImportAnalysis struct {
ArchiveDir string
FilesInspected int
Projects int
Conversations int
NewConversations int
ToUpdate int
UpToDate int
QueuedFiles []string
StoreNeedsBuild bool
Err error
}
func (ImportAnalysis) NeedsSync ¶
func (a ImportAnalysis) NeedsSync() bool
func (ImportAnalysis) QueuedFileCount ¶
func (a ImportAnalysis) QueuedFileCount() int
type ImportProgress ¶
type Pipeline ¶
type Pipeline struct {
// contains filtered or unexported fields
}
func (Pipeline) Analyze ¶
func (p Pipeline) Analyze(ctx context.Context, onProgress func(ImportProgress)) (ImportAnalysis, error)
func (Pipeline) Run ¶
func (p Pipeline) Run(ctx context.Context, onProgress func(SyncProgress)) (SyncResult, error)
type SyncActivity ¶
type SyncActivity string
const ( SyncActivitySyncingFiles SyncActivity = "syncing_files" SyncActivityRebuildingStore SyncActivity = "rebuilding_store" )
type SyncProgress ¶
type SyncResult ¶
Click to show internal directories.
Click to hide internal directories.