cola.controllers.bookmark – Bookmarks manager

This controller handles the bookmarks dialog.

class cola.controllers.bookmark.BookmarkController(model, view)

Handles interactions with the bookmarks dialog

delete()
Removes a bookmark from the bookmarks list
open()
Opens a new git-cola session on a bookmark
save()
Saves the bookmarks settings and exits
cola.controllers.bookmark.manage_bookmarks()
Launches the bookmarks manager dialog
cola.controllers.bookmark.save_bookmark()

Adds the current directory to the saved bookmarks

In practice, the current directory is the git worktree.