mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-28 22:08:01 +08:00
mfs: remove sort from ListNames()
License: MIT Signed-off-by: Lucas Molas <schomatis@gmail.com>
This commit is contained in:
parent
a9efa7e201
commit
10201db139
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user