admin: Display commit ID in admin interface
This commit is contained in:
parent
92bb409764
commit
2645109839
9 changed files with 30 additions and 5 deletions
|
|
@ -26,6 +26,10 @@ func (i LocalImporter) Kind() string {
|
|||
}
|
||||
}
|
||||
|
||||
func (i LocalImporter) Id() *string {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (i LocalImporter) Init() error {
|
||||
if f, err := os.Stat(i.Base); os.IsNotExist(err) {
|
||||
if err = os.Mkdir(i.Base, 0751); err != nil {
|
||||
|
|
|
|||
Reference in a new issue