Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUsedSpace ¶
GetUsedSpace returns a value between 0 and 1, with 0 being completely empty and 1 being full, for the disk that holds the provided path
Types ¶
type Sync ¶
type Sync struct { DbChannelData *shared.YoutubeChannel Manager *SyncManager // contains filtered or unexported fields }
Sync stores the options that control how syncing happens
func (*Sync) AppendSyncedVideo ¶
func (*Sync) GenerateRegtestBlock ¶
func (*Sync) IsInterrupted ¶
IsInterrupted can be queried to discover if the sync process was interrupted manually
type SyncManager ¶
type SyncManager struct { CliFlags shared.SyncFlags ApiConfig *sdk.APIConfig LbrycrdDsn string // contains filtered or unexported fields }
func NewSyncManager ¶
func NewSyncManager(cliFlags shared.SyncFlags, blobsDir string) *SyncManager
func (*SyncManager) Start ¶
func (s *SyncManager) Start() error
Click to show internal directories.
Click to hide internal directories.