(
db: DatabaseConnection,
queries: QueryBuilder,
projectRoot: string
)
| 151 | private watcher: FileWatcher | null = null; |
| 152 | |
| 153 | private constructor( |
| 154 | db: DatabaseConnection, |
| 155 | queries: QueryBuilder, |
| 156 | projectRoot: string |
| 157 | ) { |
| 158 | this.db = db; |
| 159 | this.queries = queries; |
| 160 | this.projectRoot = projectRoot; |
| 161 | this.fileLock = new FileLock( |
| 162 | path.join(getCodeGraphDir(projectRoot), 'codegraph.lock') |
| 163 | ); |
| 164 | this.wireLayers(); |
| 165 | } |
| 166 | |
| 167 | /** |
| 168 | * (Re)build the query/extraction/graph layers over the current `this.queries` |
nothing calls this directly
no test coverage detected