MCPcopy Create free account
hub / github.com/gokcehan/lf / toggle

Method toggle

nav.go:1265–1269  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1263}
1264
1265func (nav *nav) toggle() {
1266 if curr := nav.currFile(); curr != nil {
1267 nav.toggleSelection(curr.path)
1268 }
1269}
1270
1271func (nav *nav) tagToggleSelection(path, tag string) {
1272 if _, ok := nav.tags[path]; ok {

Callers 1

evalMethod · 0.80

Calls 2

currFileMethod · 0.95
toggleSelectionMethod · 0.95

Tested by

no test coverage detected