|
|
|
@ -34,8 +34,8 @@ func (p *Provider) LastModified() (time.Time, error) {
|
|
|
|
|
return p.str.db.LastModified()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Provider writes the SQLite database to the given path, ensuring the database
|
|
|
|
|
// is in DELETE mode. If path exists, it will be overwritten.
|
|
|
|
|
// Provider writes the SQLite database to the given path. If path exists,
|
|
|
|
|
// it will be overwritten.
|
|
|
|
|
func (p *Provider) Provide(path string) (t time.Time, retErr error) {
|
|
|
|
|
stats.Add(numProviderProvides, 1)
|
|
|
|
|
defer func() {
|
|
|
|
|