can now delete a collection! Is this a dangerous feature? Only enabling

deleting "benchmark" collections for now.
This commit is contained in:
Chris Lu
2014-03-10 11:43:54 -07:00
parent a121453188
commit cd10c277b2
13 changed files with 130 additions and 8 deletions

View File

@@ -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
}