johnsonjh/jleveldb

View on GitHub
leveldb/storage/mem_storage.go

Summary

Maintainability
A
35 mins
Test Coverage

Method memStorage.Rename has 5 return statements (exceeds 4 allowed).
Open

func (ms *memStorage) Rename(oldfd, newfd FileDesc) error {
    if !FileDescOk(oldfd) || !FileDescOk(newfd) {
        return ErrInvalidFile
    }
    if oldfd == newfd {
Severity: Major
Found in leveldb/storage/mem_storage.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status