diff options
Diffstat (limited to 'repository/config.go')
-rw-r--r-- | repository/config.go | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/repository/config.go b/repository/config.go index 4ea326b5..4db8d4be 100644 --- a/repository/config.go +++ b/repository/config.go @@ -123,3 +123,23 @@ func (m *mergedConfig) ReadTimestamp(key string) (time.Time, error) { } return m.global.ReadTimestamp(key) } + +var _ ConfigWrite = &configPanicWriter{} + +type configPanicWriter struct{} + +func (c configPanicWriter) StoreString(key, value string) error { + panic("not implemented") +} + +func (c configPanicWriter) StoreTimestamp(key string, value time.Time) error { + panic("not implemented") +} + +func (c configPanicWriter) StoreBool(key string, value bool) error { + panic("not implemented") +} + +func (c configPanicWriter) RemoveAll(keyPrefix string) error { + panic("not implemented") +} |