l.c.b.d.DiffFormatterAPI(ObjectFormatterAPI) : class documentation

Part of lp.code.browser.diff View In Hierarchy

Known subclasses: lp.code.browser.diff.PreviewDiffFormatterAPI

No class docstring
Method url Use the url of the librarian file containing the diff.
Method link The link to the diff should show the line count.
Method _get_url Undocumented

Inherited from ObjectFormatterAPI:

Method __init__ Undocumented
Method api_url Return the object's (partial) canonical web service URL.
Method traverse Traverse the specified path, processing any optional parameters.
Method global_css Undocumented
Method pagetitle The page title to be used.
Method _getSaneBreadcrumbDetail Undocumented
def _get_url(self, librarian_alias):
Undocumented
def url(self, view_name=None, rootsite=None):
Use the url of the librarian file containing the diff.
def link(self, view_name):
The link to the diff should show the line count.

Stale diffs will have a stale-diff css class. Diffs with conflicts will have a conflict-diff css class. Diffs with neither will have clean-diff css class.

The title of the diff will show the number of lines added or removed if available.

Parametersview_nameIf not None, the link will point to the page with that name on this object.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.