Skip to main content
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.30.0/deno/git.ts";

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

Parameters

repoPath: string

repo 在本地的 path

Returns

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