whoops ok need path.join everwhere if i want it anywhere
This commit is contained in:
@@ -25,6 +25,7 @@ func NewLevelDB(path string) (*LevelDB, error) {
|
||||
|
||||
func (ldb *LevelDB) List(ns []string, limits ...string) ([]string, error) {
|
||||
namespace := resolveNamespace(ns)
|
||||
namespace = path.Join(namespace)
|
||||
limits = resolveLimits(limits)
|
||||
limits[0] = path.Join(namespace, limits[0])
|
||||
limits[1] = path.Join(namespace, limits[1])
|
||||
|
||||
Reference in New Issue
Block a user