MCPcopy Create free account
hub / github.com/FlashpointProject/FlashpointUltimateUpdater / GetOverview

Method GetOverview

repo.go:30–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30func (repo *SqliteRepo) GetOverview() (IndexOverview, error) {
31 var overview IndexOverview
32 err := repo.db.QueryRow("SELECT name, total_files, total_size, base_url FROM overview LIMIT 1").
33 Scan(&overview.Name, &overview.TotalFiles, &overview.TotalSize, &overview.BaseUrl)
34 if err != nil {
35 return overview, err
36 }
37 return overview, nil
38}
39
40func (repo *SqliteRepo) GetTotalDownloadedSize() (int64, error) {
41 var total int64

Callers 1

loadDatabaseResumeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected