openDir opens given directory node
()
| 418 | |
| 419 | // openDir opens given directory node |
| 420 | func (fn *Node) openDir() { |
| 421 | if !fn.IsDir() { |
| 422 | return |
| 423 | } |
| 424 | fn.FileRoot.setDirOpen(fn.Filepath) |
| 425 | fn.Update() |
| 426 | } |
| 427 | |
| 428 | // sortBys determines how to sort the selected files in the directory. |
| 429 | // Default is alpha by name, optionally can be sorted by modification time. |
no test coverage detected