diff options
Diffstat (limited to 'weed/storage/volume.go')
| -rw-r--r-- | weed/storage/volume.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/weed/storage/volume.go b/weed/storage/volume.go index 9c3f74ca4..301610ab6 100644 --- a/weed/storage/volume.go +++ b/weed/storage/volume.go @@ -140,24 +140,6 @@ func (v *Volume) IndexFileSize() uint64 { return v.nm.IndexFileSize() } -func (v *Volume) IndexFileContent() ([]byte, error) { - v.dataFileAccessLock.Lock() - defer v.dataFileAccessLock.Unlock() - if v.nm == nil { - return nil, nil - } - return v.nm.IndexFileContent() -} - -func (v *Volume) IndexFileName() string { - v.dataFileAccessLock.Lock() - defer v.dataFileAccessLock.Unlock() - if v.nm == nil { - return "" - } - return v.nm.IndexFileName() -} - // Close cleanly shuts down this volume func (v *Volume) Close() { v.dataFileAccessLock.Lock() |
