Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/somefn/deno/git.ts>gitChanges

some functions for deno
Go to Latest
function gitChanges
import { gitChanges } from "https://deno.land/x/somefn@v0.24.1/deno/git.ts";

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

Parameters

repoPath: string

repo 在本地的 path

Returns

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