MCPcopy Index your code
hub / github.com/dbcli/pgcli / get_path_matches

Method get_path_matches

pgcli/pgcompleter.py:836–840  ·  view source on GitHub ↗
(self, _, word_before_cursor)

Source from the content-addressed store, hash-verified

834 return self.find_matches(word_before_cursor, keywords, mode="strict", meta="keyword")
835
836 def get_path_matches(self, _, word_before_cursor):
837 completer = PathCompleter(expanduser=True)
838 document = Document(text=word_before_cursor, cursor_position=len(word_before_cursor))
839 for c in completer.get_completions(document, None):
840 yield Match(completion=c, priority=(0,))
841
842 def get_special_matches(self, _, word_before_cursor):
843 if not self.pgspecial:

Callers

nothing calls this directly

Calls 1

get_completionsMethod · 0.45

Tested by

no test coverage detected