MCPcopy Index your code
hub / github.com/bytebase/bytebase / DidClose

Method DidClose

backend/api/lsp/fs.go:83–85  ·  view source on GitHub ↗

DidClose notifies the file system that a file was closed.

(params *lsp.DidCloseTextDocumentParams)

Source from the content-addressed store, hash-verified

81
82// DidClose notifies the file system that a file was closed.
83func (fs *MemFS) DidClose(params *lsp.DidCloseTextDocumentParams) {
84 fs.del(params.TextDocument.URI)
85}
86
87func (fs *MemFS) set(uri lsp.DocumentURI, content []byte) {
88 path := uriToMemFSPath(uri)

Callers 1

Calls 1

delMethod · 0.95

Tested by

no test coverage detected