(uri lsp.DocumentURI, content []byte)
| 85 | } |
| 86 | |
| 87 | func (fs *MemFS) set(uri lsp.DocumentURI, content []byte) { |
| 88 | path := uriToMemFSPath(uri) |
| 89 | fs.mu.Lock() |
| 90 | defer fs.mu.Unlock() |
| 91 | fs.m[path] = content |
| 92 | } |
| 93 | |
| 94 | func (fs *MemFS) del(uri lsp.DocumentURI) { |
| 95 | path := uriToMemFSPath(uri) |