(filePath string)
| 243 | } |
| 244 | |
| 245 | func (h *Handler) exists(filePath string) bool { |
| 246 | f, err := h.opts.SiteFS.Open(filePath) |
| 247 | if err == nil { |
| 248 | _ = f.Close() |
| 249 | } |
| 250 | return err == nil |
| 251 | } |
| 252 | |
| 253 | type htmlState struct { |
| 254 | CSRF csrfState |
no test coverage detected