1
0

Refactor: Comment out unused code in main.js

This commit is contained in:
2025-05-31 20:45:24 +02:00
parent 6b3d03b593
commit c47888c96e

View File

@@ -206,6 +206,7 @@ async function ensureOllamaRunning() {
* Startet einen File-Watcher auf .git/refs/heads/master,
* sendet bei Änderungen 'repo-updated' an den Renderer.
*/
/*)
function watchRepo(folder, win) {
const gitHead = path.join(folder, '.git', 'refs', 'heads', 'master');
const watcher = chokidar.watch(gitHead, { ignoreInitial: true });
@@ -213,7 +214,7 @@ function watchRepo(folder, win) {
win.webContents.send('repo-updated', folder);
});
repoWatchers.set(folder, watcher);
}
}*/
/**
* Initiiert ein Git-Repo in `folder`, falls noch nicht vorhanden,