code: func (s *Store) ListTemplates(ctx context.Context, prefix string) []string {
  	lst, err := s.storage.List(ctx, "")
  	if err != nil {
  		out.Debug(ctx, "failed to list templates: %s", err)
  		return nil
  	}
  	tpls := make(map[string]struct{}, len(lst))
  	for _, path := range lst {
  		if !strings.HasSuffix(path, TemplateFile) {
  			continue
  		}
  		path = strings.TrimSuffix(path, sep+TemplateFile)
  		if prefix != "" {
  			path = prefix + sep + path
  		}
  		tpls[path] = struct{}{}
  	}
  	out := make([]string, 0, len(tpls))
  	for k := range tpls {
  		out = append(out, k)
  	}
  	sort.Strings(out)
  	return out
  }
docs: // ListTemplates will list all templates in this store