Documentation
¶
Index ¶
- func BackgroundScan(scanType string, c Conf, cache *cache.Cache)
- func GetScanErrors(c Conf) (map[string]time.Time, error)
- func IsScanInProgress() bool
- func Scan(scanType string, c Conf, cache *cache.Cache) (string, error)
- func SetScanInProgress(status bool)
- func ThumbScan(c Conf) (string, error)
- func TrackScanError(path string, lastScanTime time.Time, error error, c Conf) error
- type Conf
- type Media
- type Subject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackgroundScan ¶
BackgroundScan allows us to call Scan as a goroutine and still report a status/error.
func GetScanErrors ¶
GetScanErrors retrieves all scan errors from the database
func IsScanInProgress ¶
func IsScanInProgress() bool
IsScanInProgress returns true if a scan is currently in progress
func SetScanInProgress ¶
func SetScanInProgress(status bool)
SetScanInProgress sets the scan in progress status
Types ¶
Click to show internal directories.
Click to hide internal directories.