(
db: DatabaseConnection,
queries: QueryBuilder,
projectRoot: string
)
| 159 | private watcher: FileWatcher | null = null; |
| 160 | |
| 161 | private constructor( |
| 162 | db: DatabaseConnection, |
| 163 | queries: QueryBuilder, |
| 164 | projectRoot: string |
| 165 | ) { |
| 166 | this.db = db; |
| 167 | this.queries = queries; |
| 168 | this.projectRoot = projectRoot; |
| 169 | this.fileLock = new FileLock( |
| 170 | path.join(getCodeGraphDir(projectRoot), 'codegraph.lock') |
| 171 | ); |
| 172 | this.wireLayers(); |
| 173 | } |
| 174 | |
| 175 | /** |
| 176 | * (Re)build the query/extraction/graph layers over the current `this.queries` |
nothing calls this directly
no test coverage detected