can now delete a collection! Is this a dangerous feature? Only enabling
deleting "benchmark" collections for now.
This commit is contained in:
@@ -64,6 +64,10 @@ func (m *cdbMap) Close() {
|
||||
}
|
||||
}
|
||||
|
||||
func (m *cdbMap) Destroy() error {
|
||||
return errors.New("Can not delete readonly volumes")
|
||||
}
|
||||
|
||||
func (m cdbMap) ContentSize() uint64 {
|
||||
return m.FileByteCounter
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user