/
aqa
/
claude-code
Обзор
Документация
Войти
/
aqa
/
claude-code
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
utils/memory/versions.ts
8 строк
307 B
kuberwastaken
new initial commit (history rewritten)
01 апр 2026, 14:57
01 апр 2026, 14:57
c1996f2
Код
Авторство
О чём код?
import { findGitRoot } from '../git.js' // Note: This is used to check git repo status synchronously // Uses findGitRoot which walks the filesystem (no subprocess) // Prefer `dirIsInGitRepo()` for async checks export function projectIsInGitRepo(cwd: string): boolean { return findGitRoot(cwd) !== null }