(ctx context.Context, uri lsproto.DocumentUri)
| 344 | } |
| 345 | |
| 346 | func (s *Session) DidSaveFile(ctx context.Context, uri lsproto.DocumentUri) { |
| 347 | s.scheduleIdleCacheClean() |
| 348 | s.pendingFileChangesMu.Lock() |
| 349 | defer s.pendingFileChangesMu.Unlock() |
| 350 | s.pendingFileChanges = append(s.pendingFileChanges, FileChange{ |
| 351 | Kind: FileChangeKindSave, |
| 352 | URI: uri, |
| 353 | }) |
| 354 | } |
| 355 | |
| 356 | func (s *Session) DidChangeWatchedFiles(ctx context.Context, changes []*lsproto.FileEvent) { |
| 357 | fileChanges := make([]FileChange, 0, len(changes)) |
no test coverage detected