MCPcopy Index your code
hub / github.com/coder/coder / Fetch

Method Fetch

coderd/appearance/appearance.go:17–23  ·  view source on GitHub ↗
(context.Context)

Source from the content-addressed store, hash-verified

15}
16
17func (f AGPLFetcher) Fetch(context.Context) (codersdk.AppearanceConfig, error) {
18 return codersdk.AppearanceConfig{
19 AnnouncementBanners: []codersdk.BannerConfig{},
20 SupportLinks: codersdk.DefaultSupportLinks(f.docsURL),
21 DocsURL: f.docsURL,
22 }, nil
23}
24
25func NewDefaultFetcher(docsURL string) Fetcher {
26 if docsURL == "" {

Callers

nothing calls this directly

Calls 1

DefaultSupportLinksFunction · 0.92

Tested by

no test coverage detected