From 62eef384330f652edd17732240ae0d82685c0914 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Mon, 15 Jan 2018 07:39:49 +0100 Subject: Add command to restore index of a cloud storage --- storage/local/local.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'storage/local') diff --git a/storage/local/local.go b/storage/local/local.go index ae39eb5..8b48b2e 100644 --- a/storage/local/local.go +++ b/storage/local/local.go @@ -128,6 +128,10 @@ func (l LocalStorage) List(typ objects.ObjectType) ([]objects.ObjectId, error) { return l.index.List(typ), nil } +func (LocalStorage) Subcmds() map[string]storage.StorageSubcmd { + return make(map[string]storage.StorageSubcmd) +} + func (l LocalStorage) Close() error { f, err := os.Create(joinPath(l.Path, "index")) if err != nil { -- cgit v1.2.3-70-g09d2