parent
70ec01fc3b
commit
65e593b68f
10
nav.go
10
nav.go
@ -307,7 +307,15 @@ type nav struct {
|
|||||||
func (nav *nav) loadDir(path string) *dir {
|
func (nav *nav) loadDir(path string) *dir {
|
||||||
d, ok := nav.dirCache[path]
|
d, ok := nav.dirCache[path]
|
||||||
if !ok {
|
if !ok {
|
||||||
d := &dir{loading: true, loadTime: time.Now(), path: path, sortType: gOpts.sortType, hiddenfiles: gOpts.hiddenfiles}
|
d := &dir{
|
||||||
|
loading: true,
|
||||||
|
loadTime: time.Now(),
|
||||||
|
path: path,
|
||||||
|
sortType: gOpts.sortType,
|
||||||
|
hiddenfiles: gOpts.hiddenfiles,
|
||||||
|
ignorecase: gOpts.ignorecase,
|
||||||
|
ignoredia: gOpts.ignoredia,
|
||||||
|
}
|
||||||
nav.dirCache[path] = d
|
nav.dirCache[path] = d
|
||||||
go func() {
|
go func() {
|
||||||
d := newDir(path)
|
d := newDir(path)
|
||||||
|
Loading…
Reference in New Issue
Block a user