cola.controllers.repobrowser – Repository browser

This controller handles the repository file browser.

class cola.controllers.repobrowser.RepoBrowserController(model, view, title='File Browser', get_file=False)

Provides control to the Repository Browser.

action_directory_changed()
Called in response to a change in the model’s directory.
blame()
Show git-blame output for a file path.
commit_list_doubleclick(*rest)

Called when an entry is double-clicked.

This callback changes the model’s directory when invoked on a directory item. When invoked on a file it allows the file to be saved.

context_menu_event(event)
Generate a context menu for the repository browser.
item_changed(*rest)
Called when the current item changes
cola.controllers.repobrowser.browse_git_branch(branch)
Launch a dialog to browse files in a specific branch.
cola.controllers.repobrowser.select_file_from_repo()
Launche a dialog to selecting a filename from a branch.

Previous topic

cola.controllers.remote – Remote repository operations

Next topic

cola.controllers.search – Search commits

This Page