mfs: remove `sort` from `ListNames()`
License: MIT Signed-off-by: Lucas Molas <schomatis@gmail.com>
Lucas Molas committed
Jul 12, 2018 at 11:05 UTC
10201db13962cd9b2236cdbd613ffb34f417fc05
1 file changed
-3
mfs/dir.go
-3
@@ -6,7 +6,6 @@ import (
6
"fmt"
7
"os"
8
"path"
9
- "sort"
9
"sync"
10
"time"
11
@@ -245,8 +244,6 @@ func (d *Directory) ListNames(ctx context.Context) ([]string, error) {
244
return nil, err
245
}
246
248
- sort.Strings(out)
249
-
247
return out, nil
248
}
249