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

Function applicationNameOrDefault

site/site.go:744–749  ·  view source on GitHub ↗
(cfg codersdk.AppearanceConfig)

Source from the content-addressed store, hash-verified

742}
743
744func applicationNameOrDefault(cfg codersdk.AppearanceConfig) string {
745 if cfg.ApplicationName != "" {
746 return cfg.ApplicationName
747 }
748 return "Coder"
749}
750
751// OnlyFiles returns a new fs.FS that only contains files. If a directory is
752// requested, os.ErrNotExist is returned. This prevents directory listings from

Callers 2

renderHTMLWithStateMethod · 0.85
populateHTMLStateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected