GetFS returns the file system.
()
| 13 | |
| 14 | // GetFS returns the file system. |
| 15 | func (h *Handler) GetFS() *MemFS { |
| 16 | h.mu.Lock() |
| 17 | defer h.mu.Unlock() |
| 18 | return h.fs |
| 19 | } |
| 20 | |
| 21 | func (h *Handler) readFile(_ context.Context, uri lsp.DocumentURI) ([]byte, error) { |
| 22 | if !IsURI(uri) { |
no outgoing calls
no test coverage detected