// GetBreadcrumb returns a Breadcrumb
356913
func (c *ZebedeeClient) GetBreadcrumb(uri string) ([]data.Breadcrumb, error) {
	b, err := c.get("/parents?uri=" + uri)
	if err != nil {
		return nil, err
	}

	var parentsJSON []data.Breadcrumb
	if err = json.Unmarshal(b, &parentsJSON); err != nil {
		return nil, err
	}

	return parentsJSON, nil
}
1198443
func (a *App) GetHTMLURL() string {
	if a == nil || a.HTMLURL == nil {
		return ""
	}
	return *a.HTMLURL
}
219533
func (p *Page) GetHTMLURL() string {
	if p == nil || p.HTMLURL == nil {
		return ""
	}
	return *p.HTMLURL
}
1345477
func (d *DraftReviewComment) GetPath() string {
	if d == nil || d.Path == nil {
		return ""
	}
	return *d.Path
}
1122092
func (c *CheckRun) GetHTMLURL() string {
	if c == nil || c.HTMLURL == nil {
		return ""
	}
	return *c.HTMLURL
}
1233887
func (p *Pages) GetHTMLURL() string {
	if p == nil || p.HTMLURL == nil {
		return ""
	}
	return *p.HTMLURL
}
566777
func (a *Client) GetMap(params *GetMapParams) (*GetMapOK, error) {
	// TODO: Validate the params before sending
	if params == nil {
		params = NewGetMapParams()
	}

	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetMap",
		Method:             "GET",
		PathPattern:        "/map",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetMapReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetMapOK), nil

}
163288
func (p *PagesBuild) GetURL() string {
	if p == nil || p.URL == nil {
		return ""
	}
	return *p.URL
}
583378
func (c *Page) GetAppManifest() (string, []*PageAppManifestError, string, error) {
	resp, err := gcdmessage.SendCustomReturn(c.target, c.target.GetSendCh(), &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Page.getAppManifest"})
	if err != nil {
		return "", nil, "", err
	}

	var chromeData struct {
		Result struct {
			Url    string
			Errors []*PageAppManifestError
			Data   string
		}
	}

	if resp == nil {
		return "", nil, "", &gcdmessage.ChromeEmptyResponseErr{}
	}

	// test if error first
	cerr := &gcdmessage.ChromeErrorResponse{}
	json.Unmarshal(resp.Data, cerr)
	if cerr != nil && cerr.Error != nil {
		return "", nil, "", &gcdmessage.ChromeRequestErr{Resp: cerr}
	}

	if err := json.Unmarshal(resp.Data, &chromeData); err != nil {
		return "", nil, "", err
	}

	return chromeData.Result.Url, chromeData.Result.Errors, chromeData.Result.Data, nil
}
877701
func (logger *Logger) getBuffer() *buffer {
	logger.bufferListMutex.Lock()
	b := logger.bufferList
	if b != nil {
		logger.bufferList = b.next
	}
	logger.bufferListMutex.Unlock()
	if b == nil {
		b = new(buffer)
	} else {
		b.next = nil
		b.Reset()
	}
	return b
}
54831
func (r *RepositoryLicense) GetHTMLURL() string {
	if r == nil || r.HTMLURL == nil {
		return ""
	}
	return *r.HTMLURL
}
1126089
func (db *PublicRecord) GetTag(tag ombutil.Tag) (*ombjson.BltnPage, error) {
	rows, err := db.selectTag.Query(string(tag), db.maxQueryLimit)
	defer rows.Close()
	if err != nil {
		return nil, err
	}

	bltns, err := scanBltns(rows)
	if err != nil {
		return nil, err
	}

	page := &ombjson.BltnPage{
		Bulletins: bltns,
	}

	blk, err := db.GetBlockTip()
	if err != nil {
		return nil, err
	}
	page.Start = blk.Head.Hash

	if len(bltns) < db.maxQueryLimit {
		// This is ugly
		page.Stop = peg.GetStartBlock().Sha().String()
	} else {
		page.Stop = bltns[len(bltns)-1].BlockRef.Hash
	}

	return page, nil
}
304818
func (p *ProjectCard) GetNote() string {
	if p == nil || p.Note == nil {
		return ""
	}
	return *p.Note
}
617847
func (p *PushEventCommit) GetMessage() string {
	if p == nil || p.Message == nil {
		return ""
	}
	return *p.Message
}
862665
func (c *CheckRunAnnotation) GetMessage() string {
	if c == nil || c.Message == nil {
		return ""
	}
	return *c.Message
}
1150541
func (m *MockAuthorizeResponder) GetFragment() url.Values {
	ret := m.ctrl.Call(m, "GetFragment")
	ret0, _ := ret[0].(url.Values)
	return ret0
}
95570
func (p *PullRequestComment) GetHTMLURL() string {
	if p == nil || p.HTMLURL == nil {
		return ""
	}
	return *p.HTMLURL
}