{backup,snapshot}: Rename common code to export
This commit is contained in:
parent
b3a827e042
commit
bf57c0d5a6
14 changed files with 145 additions and 133 deletions
|
|
@ -21,10 +21,10 @@ type WissKIInfo struct {
|
|||
LastRebuild time.Time
|
||||
|
||||
// List of backups made
|
||||
Snapshots []models.Snapshot
|
||||
Snapshots []models.Export
|
||||
|
||||
// WissKI content information
|
||||
NoPrefixes bool
|
||||
NoPrefixes bool // TODO: Move this into the database
|
||||
Prefixes []string // list of prefixes
|
||||
Pathbuilders map[string]string // all the pathbuilders
|
||||
}
|
||||
|
|
@ -39,7 +39,7 @@ func (wisski *WissKI) Info(quick bool) (info WissKIInfo, err error) {
|
|||
info.Slug = wisski.Slug
|
||||
info.URL = wisski.URL().String()
|
||||
|
||||
// dynamic properties, TODO: Add more properties here!
|
||||
// dynamic properties
|
||||
var group errgroup.Group
|
||||
|
||||
// quick check if this wisski is running
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue