mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
Add get_bookmarks() method
Differential Revision: https://phabricator.intern.facebook.com/D3791007
This commit is contained in:
parent
48389f12cc
commit
812bc05f85
@ -36,6 +36,10 @@ class indexapi(object):
|
||||
"""Returns the node for the given bookmark. None if it doesn't exist."""
|
||||
raise NotImplementedError()
|
||||
|
||||
def getbookmarks(self, query):
|
||||
"""Returns bookmarks that match the query"""
|
||||
raise NotImplementedError()
|
||||
|
||||
class fileindexapi(indexapi):
|
||||
def __init__(self, repo):
|
||||
super(fileindexapi, self).__init__()
|
||||
|
Loading…
Reference in New Issue
Block a user