github.com/google/safehtml/template.TrustedSource.String (method)

13 uses

	github.com/google/safehtml/template (current package)
		template.go#L584: 	return parseGlob(nil, pattern.String())
		template.go#L620: 	return parseGlob(t, pattern.String())
		trustedsource.go#L63: 	return TrustedSource{filepath.Join(string(dir), src.String(), filename)}, nil
		trustedsource.go#L95: func (t TrustedSource) String() string {
		trustedsource.go#L102: 		ret = append(ret, p.String())

	golang.org/x/pkgsite/internal/frontend
		server.go#L136: 		http.ServeFile(w, r, fmt.Sprintf("%s/img/favicon.ico", http.Dir(s.staticPath.String())))
		server.go#L574: 		templates[set[0].String()] = t
		server.go#L595: 		templates[set[0].String()] = t
		server.go#L602: 	staticPath := s.staticPath.String()
		styleguide.go#L38: 	page, err := styleGuide(ctx, s.staticPath.String())

	golang.org/x/pkgsite/internal/worker
		server.go#L211: 	handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir(s.staticPath.String()))))
		server.go#L643: 	if staticPath.String() == "" {
		server.go#L647: 	return template.New(filename.String()).Funcs(template.FuncMap{