Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadSubdir = errors.New("cardcpx: importer: invalid subdirectory")
ErrBadSubdir is returned from the status when attempting to import into a bad subdirectory.
Functions ¶
This section is empty.
Types ¶
type Importer ¶
type Importer struct {
// contains filtered or unexported fields
}
An Importer copies files from a video source to video storage.
type Status ¶
type Status struct { Active bool `json:"active"` BytesCopied int64 `json:"bytesCopied"` BytesTotal int64 `json:"bytesTotal"` Start time.Time `json:"start"` ETA time.Time `json:"eta"` Pending []*video.Clip `json:"pending"` Results []Result `json:"results"` }
Status stores the state of an importer.
Click to show internal directories.
Click to hide internal directories.