Part of lp.code.model.gitref View In Hierarchy
This is like a GitRef, but is frozen at a particular commit, even if the real reference has moved on or has been deleted. It isn't necessarily backed by a real database object, and will retrieve columns from the database when required. Use this when you have a repository/path/commit_sha1 that you want to pass around as a single object, but don't necessarily know that the ref still exists.
Method | __init__ | Undocumented |
Method | _self_in_database | See GitRefDatabaseBackedMixin . |
Inherited from GitRefDatabaseBackedMixin:
Method | __getattr__ | Undocumented |
Method | __setattr__ | Undocumented |
Method | __eq__ | Undocumented |
Method | __ne__ | Undocumented |
Method | __hash__ | Undocumented |
Method | _non_database_attributes | A sequence of attributes not backed by the database. |
Inherited from GitRefMixin (via GitRefDatabaseBackedMixin):
Method | display_name | See IGitRef . |
Method | name | See IGitRef . |
Method | url_quoted_name | See IGitRef . |
Method | identity | See IGitRef . |
Method | unique_name | See IGitRef . |
Method | repository_type | See IGitRef . |
Method | owner | See IGitRef . |
Method | target | See IGitRef . |
Method | namespace | See IGitRef . |
Method | getCodebrowseUrl | See IGitRef . |
Method | getCodebrowseUrlForRevision | See IGitRef . |
Method | information_type | See IGitRef . |
Method | private | See IGitRef . |
Method | visibleByUser | See IGitRef . |
Method | transitionToInformationType | Undocumented |
Method | reviewer | See IGitRef . |
Method | code_reviewer | See IGitRef . |
Method | isPersonTrustedReviewer | See IGitRef . |
Method | subscriptions | See IGitRef . |
Method | subscribers | See IGitRef . |
Method | subscribe | See IGitRef . |
Method | getSubscription | See IGitRef . |
Method | unsubscribe | See IGitRef . |
Method | getNotificationRecipients | See IGitRef . |
Method | landing_targets | See IGitRef . |
Method | getPrecachedLandingTargets | See IGitRef . |
Method | landing_candidates | See IGitRef . |
Method | getPrecachedLandingCandidates | See IGitRef . |
Method | dependent_landings | See IGitRef . |
Method | getMergeProposals | See IGitRef . |
Method | getDependentMergeProposals | See IGitRef . |
Method | pending_updates | See IGitRef . |
Method | getCommits | Undocumented |
Method | getLatestCommits | Undocumented |
Method | getBlob | See IGitRef . |
Method | recipes | See IHasRecipes . |
Method | getGrants | See IGitRef . |
Method | setGrants | See IGitRef . |
Method | checkPermissions | See IGitRef . |
Method | getLatestScanJob | See IGitRef . |
Method | rescan | See IGitRef . |
Method | _api_landing_targets | Undocumented |
Method | _api_landing_candidates | Undocumented |
Method | _getLog | Undocumented |