diff options
Diffstat (limited to 'bug')
-rw-r--r-- | bug/bug.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -204,6 +204,11 @@ func readAllBugs(repo repository.Repo, refPrefix string) <-chan StreamedBug { return out } +// List all the available local bug ids +func ListLocalIds(repo repository.Repo) ([]string, error) { + return repo.ListIds(bugsRefPattern) +} + // IsValid check if the Bug data is valid func (bug *Bug) IsValid() bool { // non-empty |