admin: Display commit ID in admin interface

This commit is contained in:
nemunaire 2022-01-20 15:29:49 +01:00
commit 2645109839
9 changed files with 30 additions and 5 deletions

View file

@ -19,6 +19,8 @@ import (
type Importer interface {
// Kind returns information about the Importer, for human interrest.
Kind() string
// Id returns information about the current state (commit id, ...).
Id() *string
// init performs the importer initialization.
Init() error
// sync tries to pull the latest modification of the underlying storage.