diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-03-15 23:00:20 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-03-30 21:57:00 +1100 |
commit | c9de6c003bf28c7f5fdb5ed7aaf70793836b324d (patch) | |
tree | 5fc7aecda7ff31f69dc4bfd5464bd4a4f0420067 /pkg/commands/models | |
parent | 418621a9ff41f1282e471ce2250f62c9e1d2bdbf (diff) |
support some more things
Diffstat (limited to 'pkg/commands/models')
-rw-r--r-- | pkg/commands/models/status_line_node.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/commands/models/status_line_node.go b/pkg/commands/models/status_line_node.go index 1a2471935..e0a9051e2 100644 --- a/pkg/commands/models/status_line_node.go +++ b/pkg/commands/models/status_line_node.go @@ -203,3 +203,11 @@ func (s *StatusLineNode) GetPathsMatching(test func(*StatusLineNode) bool) []str return paths } + +func (s *StatusLineNode) ID() string { + return s.GetPath() +} + +func (s *StatusLineNode) Description() string { + return s.GetPath() +} |