/
githubmirror
/
atom
Обзор
Документация
Войти
/
githubmirror
/
atom
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
packages/git-diff/lib/helpers.js
9 строк
202 B
Ruby Allison Rose
fix(git-diff): Now targets the closest parent repo to the open file.
03 янв 2022, 03:38
03 янв 2022, 03:38
967d63b
Код
Авторство
О чём код?
'use babel'; import { Directory } from 'atom'; export default async function(goalPath) { if (goalPath) { return atom.project.repositoryForDirectory(new Directory(goalPath)); } return null; }