(uri lsp.DocumentURI)
| 92 | } |
| 93 | |
| 94 | func (fs *MemFS) del(uri lsp.DocumentURI) { |
| 95 | path := uriToMemFSPath(uri) |
| 96 | fs.mu.Lock() |
| 97 | defer fs.mu.Unlock() |
| 98 | delete(fs.m, path) |
| 99 | } |
| 100 | |
| 101 | func (fs *MemFS) get(uri lsp.DocumentURI) ([]byte, bool) { |
| 102 | path := uriToMemFSPath(uri) |
no test coverage detected