(hasRelativePatternCapability bool, fileName string)
| 50 | } |
| 51 | |
| 52 | func newConfigFileEntry(hasRelativePatternCapability bool, fileName string) *configFileEntry { |
| 53 | return &configFileEntry{ |
| 54 | fileName: fileName, |
| 55 | pendingReload: PendingReloadFull, |
| 56 | rootFilesWatch: NewWatchedFiles( |
| 57 | "root files for "+fileName, |
| 58 | lsproto.WatchKindCreate|lsproto.WatchKindChange|lsproto.WatchKindDelete, |
| 59 | hasRelativePatternCapability, |
| 60 | core.Identity, |
| 61 | ), |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | func newExtendedConfigFileEntry(fileName string, extendingConfigPath tspath.Path) *configFileEntry { |
| 66 | return &configFileEntry{ |
no test coverage detected