aboutsummaryrefslogtreecommitdiffstats
path: root/c_litems.go
diff options
context:
space:
mode:
Diffstat (limited to 'c_litems.go')
-rw-r--r--c_litems.go30
1 files changed, 15 insertions, 15 deletions
diff --git a/c_litems.go b/c_litems.go
index 03c2ae1..689a5e0 100644
--- a/c_litems.go
+++ b/c_litems.go
@@ -180,18 +180,18 @@ func (litems *ItemsList) inc(jump int) {
litems.curr = new_item
}
-func (item *ItemsNode) folded_parents() bool {
- var ptr *DirsNode
-
- if item.is_dir() == false {
- ptr = item.Host.Parent
- } else {
- ptr = item.Dirs.Parent
- }
- for ; ptr.Parent != nil; ptr = ptr.Parent {
- if ptr.Folded == true {
- return true
- }
- }
- return false
-}
+// func (item *ItemsNode) folded_parents() bool {
+// var ptr *DirsNode
+//
+// if item.is_dir() == false {
+// ptr = item.Host.Parent
+// } else {
+// ptr = item.Dirs.Parent
+// }
+// for ; ptr.Parent != nil; ptr = ptr.Parent {
+// if ptr.Folded == true {
+// return true
+// }
+// }
+// return false
+// }