From 10201db13962cd9b2236cdbd613ffb34f417fc05 Mon Sep 17 00:00:00 2001 From: Lucas Molas Date: Thu, 12 Jul 2018 11:05:56 -0300 Subject: [PATCH] mfs: remove `sort` from `ListNames()` License: MIT Signed-off-by: Lucas Molas --- mfs/dir.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/mfs/dir.go b/mfs/dir.go index 17f09356f..d59915812 100644 --- a/mfs/dir.go +++ b/mfs/dir.go @@ -6,7 +6,6 @@ import ( "fmt" "os" "path" - "sort" "sync" "time" @@ -245,8 +244,6 @@ func (d *Directory) ListNames(ctx context.Context) ([]string, error) { return nil, err } - sort.Strings(out) - return out, nil }