()
| 406 | } |
| 407 | |
| 408 | func (fn *Node) OnClose() { |
| 409 | if !fn.IsDir() { |
| 410 | return |
| 411 | } |
| 412 | fn.FileRoot.setDirClosed(fn.Filepath) |
| 413 | } |
| 414 | |
| 415 | func (fn *Node) CanOpen() bool { |
| 416 | return fn.HasChildren() || fn.IsDir() |
nothing calls this directly
no test coverage detected