eye.helpers.file_search_plugins.git module

class eye.helpers.file_search_plugins.git.GitGrep(**kwargs)[source]

Bases: GrepLike

cmd_base = ['git', 'grep', '-n', '-I']
id = 'git-grep'

Class attribute, identifier of the plugin

The identifier should be unique across plugin classes since this identifier is used for get_plugin.

classmethod is_available(path)[source]

Return whether the plugin can search inside a particular path

Some plugins use an index (like git or etags) and can only search in certain paths.

classmethod search_root_path(path)[source]