Skip to main content
Module

x/somefn/deno/git.ts>gitChanges

some functions for deno and browser
Latest
function gitChanges
import { gitChanges } from "https://deno.land/x/somefn@v0.1.1-jsr/deno/git.ts";

查看本地 Git 仓库的变动 参考文档

Parameters

repoPath: string

repo 在本地的 path

Returns

Promise<{ stagedFiles: Changes[]; notStagedFiles: Changes[]; }>